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: Connection config nodetype #352

Closed
wants to merge 1 commit into from

Conversation

saihaj
Copy link
Member

@saihaj saihaj commented Aug 1, 2021

Found this bug in TypeScript Migration #340 a6d412e

@codecov
Copy link

codecov bot commented Aug 1, 2021

Codecov Report

Merging #352 (7f34d22) into main (1723186) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #352   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           21        21           
  Lines          745       745           
  Branches        51        51           
=========================================
  Hits           745       745           
Impacted Files Coverage Δ
src/connection/connection.js 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1723186...7f34d22. Read the comment docs.

@@ -75,7 +75,7 @@ export type ConnectionArguments = {

type ConnectionConfig = {
name?: string,
nodeType: GraphQLNamedType | GraphQLNonNull<GraphQLNamedType>,
nodeType: GraphQLOutputType,
Copy link
Member

Choose a reason for hiding this comment

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

image

@saihaj Output types include arrays :( so we can't use it
How about you add GraphQLInputNamedType and GraphQLOutputNamedType to graphql-js?

Copy link
Member Author

Choose a reason for hiding this comment

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

This was merged and released to 16.x.x alpha channel graphql/graphql-js#3063 as we discussed on Slack I will update to use alpha for main and then I can rebase this branch

IvanGoncharov added a commit to IvanGoncharov/graphql-relay-js that referenced this pull request Dec 7, 2021
IvanGoncharov added a commit that referenced this pull request Dec 7, 2021
@saihaj saihaj deleted the fix-connection-type branch December 7, 2021 19:20
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