Skip to content

Sort fields, args and values in GraphQLObjectType, GraphQLInputObjectType and GraphQLEnumValue if they are not an ordered dict. #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jhgg opened this issue Oct 16, 2015 · 0 comments
Assignees
Milestone

Comments

@jhgg
Copy link
Member

jhgg commented Oct 16, 2015

Schema should sort these if they are not ordered dicts. Python doesn't guarantee a consistent ordering for keys in a dict. If we provide a dict that doesn't guarantee it, when inserting them into the OrderedDict we are going to sort these values.

@jhgg jhgg added this to the v0.1 milestone Oct 16, 2015
@jhgg jhgg self-assigned this Oct 16, 2015
@jhgg jhgg closed this as completed in e12c55b Oct 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant