-
Notifications
You must be signed in to change notification settings - Fork 863
Enum support for resolver functions #742
Comments
@marktani I'm interested in tracking the availability of this feature. Will the closing of this issue mean that it has been implemented? |
I would also like to add a request that not noly Enums but any type defined. I'm trying to return an object I defined in my types.graphql, and it of course won't work. |
Just ran into this one as well. Would have expected enums to bubble up from the root |
@johnslemmer Support for model types is also tracked in this issue: https://github.com/graphcool/framework/issues/743. |
This issue has been moved to graphcool/graphcool-framework. |
What feature are you missing?
Defining an input field in a resolver of type enum like this:
with the enum
results in this error message when deploying:
The same error is returned for this payload:
Enums should be supported as input field types, as well as output field types for resolver functions! 🙂
The text was updated successfully, but these errors were encountered: