Skip to content

Conversation

@ashpak-shaikh
Copy link
Contributor

When converting the introspection response to GraphQLSchema, the descriptions in the enumvalues are missing. Please accept my contribution to fix this issue.

Copy link
Member

@bbakerman bbakerman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this


EnumValueDefinition.Builder enumValueDefinition = EnumValueDefinition.newEnumValueDefinition().name((String) enumValue.get("name"));
enumTypeDefinition.description(toDescription(input));
enumValueDefinition.description(toDescription(enumValue));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch

@bbakerman bbakerman added this to the 19.0 milestone Apr 3, 2022
@bbakerman bbakerman merged commit 29ffff7 into graphql-java:master Apr 3, 2022
@dondonz dondonz modified the milestones: 19.0, 18.1 May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants