I just renamed an input field in a custom resolver I have in Realm.
The query works perfectly fine if I use it through the GraphiQL explorer in the Realm UI.
But if I use the api endpoint to reach the GraphQL api, the schema seems to not be updated.
The query gives me an error saying that this new field name does not exist. And I can keep using the old, non existing, input field.
Query docs in GraphiQL
Query in GraphiQL
Same query through /graphql endpoint (note error “In field “articlenumber”: Unknown field.” )
Is the schema perhaps cached? I found information about something similar here How to use the API - Realm Sync (LEGACY) but, Im not using realm sync and the endpoint suggested does not seem to exist on my graphql endpoint.
How do I make the schema also be updated for external api calls?