-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fixed introspection for schema description and specifiedByURL #1986
fixed introspection for schema description and specifiedByURL #1986
Conversation
I've checked with rewrote go.mod like below
|
47bb408
to
33a6c59
Compare
33a6c59
to
2fee560
Compare
@@ -31,7 +31,7 @@ in another terminal | |||
```bash | |||
cd integration | |||
npm install | |||
SERVER_URL=http://localhost:8080/query ./node_modules/.bin/graphql get-schema | |||
./node_modules/.bin/graphql-codegen |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use graphql-codegen because need to upgrade graphql-js to v16.3.0 (the same as gqlparser) and graphql-cli is wrapper for it
@StevenACoffman Could you check? |
go.mod
Outdated
@@ -13,8 +13,8 @@ require ( | |||
github.com/mitchellh/mapstructure v1.2.3 | |||
github.com/stretchr/testify v1.4.0 | |||
github.com/urfave/cli/v2 v2.3.0 | |||
github.com/vektah/gqlparser/v2 v2.3.1 | |||
golang.org/x/tools v0.1.5 | |||
github.com/vektah/gqlparser/v2 v2.3.2-0.20220228141359-a1885932a1bc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use the latest
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
} | ||
|
||
"""""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why's this happened?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check #2008
fixed introspection to support the latest spec.
https://spec.graphql.org/October2021/#sec-Schema-Introspection
ref: vektah/gqlparser#182
This PR can avoid like this problem: #1636
Describe your PR and link to any relevant issues.
I have: