Closed
Description
Hi,
I came across some warning that I ended up fixing with a PR in graphql-java, however it turns out that the issue might be coming from this library.
Could someone familiar with this code have a look and see if this is the case. I would like to push the fix upstream to any project.
TL;DR:
I got errors like graphql.schema.CoercingSerializeException: Invalid input for Enum 'SortBy'. Unknown value 'EnumValue{name='createdOn'}'
.
It seems that my fix - checking for EnumValue
inside serialize might not be the right place to do it since graphql api should not reach that point.
The two PR's and associated discussions are:
graphql-java/graphql-java#1531
graphql-java/graphql-java#1533
graphql-java/graphql-java#1532
Metadata
Metadata
Assignees
Labels
No labels