Replies: 1 comment 1 reply
-
|
Your example looks fine - Double check that the schema file is actually picked up correctly, and it's not getting it from a place different than what you're looking at. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have implemented a first DataLoader.
I also created the corosponing method in the DataFetcher:
But when I start the service:
com.netflix.graphql.dgs.exceptions.DataFetcherSchemaMismatchException: @DgsData in com.daimler.ltm.api.container.datafetchers.ADataFetcher on field images references object typeAit has no field namedb. All data fetchers registered with @DgsData|@DgsQuery|@DgsMutation|@DgsSubscription must match a field in the schema.When I insert the field in the type A then I am missing the type B:
What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions