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

fix String/Name methods on the List type #651

Merged
merged 2 commits into from
Feb 25, 2023

Conversation

dariuszkuc
Copy link
Contributor

String() method should delegate to the Name() method (same as NonNull). Trying to get name of a list type was returning just the underlying list element type info.

`String()` method should delegate to the `Name()` method (same as `NonNull`). Trying to get name of a list type was returning just the underlying list element type info.
@coveralls
Copy link

coveralls commented Oct 17, 2022

Coverage Status

Coverage: 92.051%. Remained the same when pulling c18e0b6 on dariuszkuc:fix_list_name into d264c4c on graphql-go:master.

@dariuszkuc
Copy link
Contributor Author

Looks like vscode autoformatted some comments - let me know if you want those changes reverted.

@dariuszkuc
Copy link
Contributor Author

@chris-ramon can you help with merging this PR?

dariuszkuc added a commit to dariuszkuc/apollo-federation-subgraph-compatibility that referenced this pull request Oct 31, 2022
Example `graphql-go` integration that is using https://github.com/dariuszkuc/graphql/releases/tag/v0.9.0-federation

NOTE: this is a temporary solution while we are waiting for `graphql-go` PRs to get merged ([651](graphql-go/graphql#651), [652](graphql-go/graphql#652) and [653](graphql-go/graphql#653)).

Resolves: apollographql#74
dariuszkuc added a commit to apollographql/apollo-federation-subgraph-compatibility that referenced this pull request Nov 1, 2022
Example `graphql-go` integration that is using https://github.com/dariuszkuc/graphql/releases/tag/v0.9.0-federation

NOTE: this is a temporary solution while we are waiting for `graphql-go` PRs to get merged ([651](graphql-go/graphql#651), [652](graphql-go/graphql#652) and [653](graphql-go/graphql#653)).

Resolves: #74
Copy link
Member

@chris-ramon chris-ramon left a comment

Choose a reason for hiding this comment

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

LGTM 👍 – Thanks a lot @dariuszkuc

@chris-ramon chris-ramon merged commit 623f886 into graphql-go:master Feb 25, 2023
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

3 participants