Skip to content

How to customize enum mapping? #426

Discussion options

You must be logged in to vote

Value of Enum type cannot be customized as of current implementation.
To get the result that you're looking for, you can create a custom scalar that wraps Enum and uses the property of Enum that you want

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by vojtapol
Comment options

You must be logged in to vote
0 replies
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
Converted from issue

This discussion was converted from issue #426 on December 21, 2020 15:45.