This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 863
Scalar Payloads for Resolver Functions #729
Comments
I think this is kinda related to generally being able to return any existing type from your schema. Unless that's already working and I've missed it :) |
No, it's not. The primitive types are not linked to storage, and using them in resolver functions is something that's a lot different from integrating Resolver Function payload Types with the storage Types. |
Looks like a great and natural addition to resolver functions! |
Closed
Further discuss in #743. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What feature are you missing?
Returning a scalar value for a resolver function is not supported currently.
How could this feature look like in detail? Tradeoffs?
Currently, if you store such a resolver function, you receive this error message:
The text was updated successfully, but these errors were encountered: