Generate separate resolvers per query #789
-
Hi, Is there any way I could make the generator generate separate resolver interface classes per query ?
I get a resolver like this
I would like to generate two seperate resolvers here for the two query methods so that i could make use of the Without this, it is really difficult to introduce the data loader concepts in to the mix, feels like the resolvers generated by the generator and the Data fetchers required to create the Any help would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @ddskolla |
Beta Was this translation helpful? Give feedback.
Hi @ddskolla
By default
apiInterfaceStrategy
is set toINTERFACE_PER_OPERATION
which means that separate interface classes will be generated for each GraphQL operation.