Skip to content

Resolver return types do not have to match actual return types? #1112

Answered by MichalLytek
tetchel asked this question in Q&A
Discussion options

You must be logged in to vote

Is this simply a limitation of the library

This is the limitation of TypeScript. In ideal world it would just read : Promise<number> type annotation and emit Float! in GraphQL.

Replies: 1 comment

Comment options

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