Closed ScreamZ closed 4 years ago
I would like to define resolvers for interface types, which are normally not allowed.
It's impossible to define resolvers for interface types (in general).
Figured out later, thanks
is this still an issue ? does the flag inheritResolversFromInterfaces have any meaning ?
I'm submitting a...
I would like to define resolvers for interface types, which are normally not allowed.
Currently, I'm doing this to handle those cases:
For those who want more about it, read my initial issue at https://stackoverflow.com/questions/61867673/nestjs-x-graphql-x-typegoose-issue-on-sub-resolver
Interrogation
While this is working great, I would like to be sure I'm not hacking the library in terms of practice to make this work
I saw that an
inheritResolversFromInterfaces
property exists in apollo https://www.apollographql.com/docs/apollo-server/api/apollo-server/#makeexecutableschemaBut I can't figure out how to use it in NestJS⦠Maybe you could help me? Look like it's not implemented to pass args to makeExecutableSchema
Environment