graphql-platform icon indicating copy to clipboard operation
graphql-platform copied to clipboard

Enum not parsed in reference resolver

Open LouisMT opened this issue 4 months ago • 0 comments

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

LouisMT avatar Oct 01 '25 16:10 LouisMT