graphql-platform
graphql-platform copied to clipboard
Enum not parsed in reference resolver
Product
Hot Chocolate
Version
15.1.10
Link to minimal reproduction
https://github.com/LouisMT/HotChocolate-ReferenceResolverEnum
Steps to reproduce
I have added example queries in the README.
Enums are parsed correctly when used in as a parameter. However when used in a reference resolver, it is always the default value (null when it's nullable, or 0/first enum value otherwise).
What is expected?
I would expect the enum value in the reference resolver to be B.
What is actually happening?
The enum value in the reference resolver is A.
Relevant log output
Additional context
No response