Skip to content

Do enhance maps work if I customize a resolver's args types? #74

Answered by MichalLytek
omar-dulaimi asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, it works only with the original generated artifacts because the generator have no idea about your changed names or args.

You can always call the decorators manually, like IsString()(MyResolver.prototype, "myMethod");.
But as you've changed the names and types, you can just put the decorators by yourself 😉

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by omar-dulaimi
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