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

support for cyclic fields on defintion #229

Merged
merged 1 commit into from
Aug 6, 2017

Conversation

chris-ramon
Copy link
Member

Overview

Test plan

  • go test ./...

… fix error with cyclic InputObject configurations

Signed-off-by: Johny Jose <[email protected]>
@coveralls
Copy link

coveralls commented Aug 6, 2017

Coverage Status

Coverage decreased (-0.006%) to 82.094% when pulling 174a1a3 on atrniv/fix-cyclic-types into a9df066 on master.

@chris-ramon chris-ramon merged commit 105a6c2 into master Aug 6, 2017
@chris-ramon chris-ramon deleted the atrniv/fix-cyclic-types branch August 6, 2017 00:33
Type: graphql.String,
},
"bestFriend": &graphql.Field{
Type: personType,
Copy link

Choose a reason for hiding this comment

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

@chris-ramon Type: personType is using the personType defined in union_interface_test.go, not the local variable defined just above. If personType hadn't been defined in that other file, you would get an undefined: personType error.

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