How to pass array of path to resolvers to buildSchema #1469
Answered
by
carlocorradini
ludersGabriel
asked this question in
Q&A
-
Hi! I used to do this: But now it is giving me "string is not assignable to type function" and when I execute, it gives: Did it change how its done with the 2.0? |
Beta Was this translation helpful? Give feedback.
Answered by
carlocorradini
Jul 10, 2023
Replies: 1 comment 2 replies
-
Glob paths are removed from V2. // ...
resolvers: [Resolver1, Resolver2, ...] |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
ludersGabriel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Glob paths are removed from V2.
You need to pass an array of (classes) resolvers: