You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thinking about it, this would probably be useful to generate completely separately to the Resovler interfaces so you can just rely on the generated Payloads without using the generated resovlers.
When generating Resolver interfaces with lots of top level fields it can leave the method signatures very long.
Spring offers the use of @ProjectedPayload interfaces: https://docs.spring.io/spring-graphql/docs/current/reference/html/#controllers.schema-mapping.projectedpayload.argument
Ideally the resolvers would generate the projected interface inside or alongside the resolver interface, something like this:
For a schema that looks like this:
The text was updated successfully, but these errors were encountered: