Skip to content

Comments

Fix some input objects missing from the type map#117

Merged
leebyron merged 1 commit intographql:masterfrom
fson:nested-input-objects
Aug 11, 2015
Merged

Fix some input objects missing from the type map#117
leebyron merged 1 commit intographql:masterfrom
fson:nested-input-objects

Conversation

@fson
Copy link
Contributor

@fson fson commented Aug 11, 2015

Input object types were not included in the type map when they were used as a field type in other input objects, because typeMapReducer did not recurse into those fields.

Modify typeMapReducer to also handle GraphQLInputObjectType and add a test case that checks also nested input object types are handled.

Input object types were not included in the type map when they were
used as a field type in other input objects, because `typeMapReducer`
did not recurse into those fields.

Modify `typeMapReducer` to also handle GraphQLInputObjectType and add
a test case that checks also nested input object types are handled.
@leebyron leebyron merged commit 7b2d290 into graphql:master Aug 11, 2015
@leebyron
Copy link
Contributor

Thank you for diagnosing and fixing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants