#434 Add GraphQlInputObjectType reference for NonNull INput types at … by elielsonms · Pull Request #435 · graphql-java-kickstart/graphql-java-tools · GitHub
Skip to content

#434 Add GraphQlInputObjectType reference for NonNull INput types at … - #435

Merged
vojtapol merged 8 commits into
graphql-java-kickstart:masterfrom
elielsonms:#434_GraphQlInputObjectType_at_runtime_wiring_on_nonnull_input
Mar 5, 2021
Merged

vojtapol merged 8 commits into
graphql-java-kickstart:masterfrom
elielsonms:#434_GraphQlInputObjectType_at_runtime_wiring_on_nonnull_input

Conversation

@elielsonms

Copy link
Copy Markdown

Fixes #434 Add GraphQlInputObjectType reference for NonNull INput types at …Runtime Wiring

Checklist

  • Pull requests follows the contribution guide
  • New or modified functionality is covered by tests

Description

  • Added to the determineType the same approach as determineInputType, but without the creation of nonexisting INput types (this could lead to infinity recursion)
  • Added Groovy Unit Test to ensure the problem is solved

…onNull INput types at Runtime Wiring

- Added to the determineType the same approeach as  determineInputType, but without the creation of non existing INput types (this could lead to infinity recursion)
- Added Groovy Unit Test to ensure the problem is solved

@vojtapol vojtapol left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could you please check how does this relate to this: #414 ?

@elielsonms

elielsonms commented Nov 18, 2020 •

Copy link
Copy Markdown
Author

@vojtapol
vojtapol requested a review from oryan-block December 14, 2020 21:43

@oryan-block oryan-block left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This looks good to me. Just a couple minor suggestions.

Comment thread src/main/kotlin/graphql/kickstart/tools/SchemaParser.kt Outdated
Comment thread src/test/groovy/graphql/kickstart/tools/SchemaParserSpec.groovy Outdated
Comment thread src/test/groovy/graphql/kickstart/tools/SchemaParserSpec.groovy Outdated
oryan-block
oryan-block previously approved these changes Dec 16, 2020
@oryan-block
oryan-block requested a review from vojtapol December 16, 2020 14:08
oryan-block and others added 3 commits December 17, 2020 17:01
…ing_on_nonnull_input

# Conflicts:
#	src/test/groovy/graphql/kickstart/tools/SchemaParserSpec.groovy
oryan-block
oryan-block previously approved these changes Mar 5, 2021
…ing_on_nonnull_input

# Conflicts:
#	src/test/kotlin/graphql/kickstart/tools/SchemaParserTest.kt
@vojtapol
vojtapol merged commit 580475b into graphql-java-kickstart:master Mar 5, 2021
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.

GraphQLTypeReference instead of proper GraphQlInputObjectType during runtime (Directive wiring) on NonNull Input types

3 participants