Open miller79 opened 6 months ago
Thanks for the report. It looks like the AutoRegistrationRuntimeWiringConfigurer
performs deferred registrations through a WiringFactory
rather than directly on RuntimeWiring.Builder
, and as a result schema inspection is not aware of such auto-registered DataFetcher
s.
I am using Spring Boot Parent 3.2.5 and a repository defined like the following:
I also have a graphqls schema that looks like the following:
When I run the code, it works fine and returns results as expected. However the GraphQL schema inspection shows a log that shows this:
If I register the data fetcher directly, the inspection does not show the error but from reading the docs and from monitoring the behavior, I would believe that it is configured appropriately and everything should be configured correctly. I'm not sure if this is a bug or an error on my part but wanted to create an issue here as I could not find similar issues.
Also the documentation doesn't have a really clear example of getting QBE working but with trial and error I came to this implementation so if my knowledge is incorrect please correct me.