Skip to content
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

Schema type printer #15

Merged
merged 5 commits into from
Oct 8, 2015
Merged

Schema type printer #15

merged 5 commits into from
Oct 8, 2015

Conversation

jhgg
Copy link
Member

@jhgg jhgg commented Oct 8, 2015

This pull request implements the schema printer utility, and makes a few changes to GraphQLEnumType/GraphQLInputObjectFields.

  • Implement schema_printer utility & unit tests.
  • Assert that GraphQLInputObjectFields are being passed to GraphQLInputObject's fields
  • For GraphQLEnumType use an OrderedDict to store values, so that we can preserve ordering being passed in.
  • Introspection's object types/enums should be using an OrderedDict to define their fields/values, so that when the schema_printer prints them, their fields are in a consistent ordering.

 * Implement partial tests.
@jhgg jhgg mentioned this pull request Oct 8, 2015
11 tasks
@jhgg jhgg changed the title [WIP] Schema type printer Schema type printer Oct 8, 2015
jhgg added a commit that referenced this pull request Oct 8, 2015
@jhgg jhgg merged commit b32819b into master Oct 8, 2015
@jhgg jhgg deleted the schema-type-printer branch October 8, 2015 20:26
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.

None yet

1 participant