Conflicting types String and PRISMIC_Linkable

Hi there,

I was updating some slice field names and ID's, but when I update them in graphql I'm getting the error message...

Fields "primary" conflict because subfields "cta_action" conflict because they return conflicting types String and PRISMIC__Linkable. Use different aliases on the fields to fetch both if this was intentional.

I'm not sure how to resolve this, any advice would be appreciated.

Thanks.

[Update from private conversation.]

Re-naming the fields inside the Custom types shouldn’t cause any problem when querying the new schema.

What you need to do after you make a change of this kind is to run gatsby clean inside your project, to be able to work with the updated schema

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.