Async parseValue
resolver does not provide promise resolution value
#2758
Labels
parseValue
resolver does not provide promise resolution value
#2758
In
graphql
v15.3
we've recently re-written our resolver for a custom type to be something like this:In code that handles a mutation where a
MyThing
is passed, it's coming out as an unresolved promise, like so:I'd like to not have to
await myThing
every time I want to use it, and the following comment suggests that the resolution values of async/promise-returningparseValue
will be what the user gets to work with:Originally posted by @leebyron in #820 (comment)
Am I misunderstanding this comment? Or is this not how it's supposed to work? Or is it a bug?
The text was updated successfully, but these errors were encountered: