QQ: Can we have multiple resolvers pointing to the same entity? #821
-
@Resolver(of => Recipe)
class TunaFishRecipeResolver {
@FieldResolver(...)
tunafishRecipe() {
// ...
}
}
@Resolver(of => Recipe)
class PeanutButterRecipeResolver {
@FieldResolver(...)
peanutbutterRecipe() {
// ...
}
} (sorry for the contraived example) any gotchas to this? |
Beta Was this translation helpful? Give feedback.
Answered by
MichalLytek
Mar 16, 2021
Replies: 1 comment 3 replies
-
Yes we can 😉 |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
MichalLytek
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes we can 😉
Why you haven't tried before asking a question?