Skip to content
Discussion options

You must be logged in to vote
  1. Just don't use ResolverInterface
  2. Define the fields "dynamically" - read the docs about that. You can define only field resolvers, it will automatically add fields to proper graphql types. Then your Service class signature gonna contain only ids not the relations arrays.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@MichalLytek
Comment options

@enheit
Comment options

@MichalLytek
Comment options

@MichalLytek
Comment options

@enheit
Comment options

Answer selected by enheit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants