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

gqlparser v2.3.1 #166

Merged
merged 1 commit into from
Jan 27, 2022
Merged

gqlparser v2.3.1 #166

merged 1 commit into from
Jan 27, 2022

Conversation

StevenACoffman
Copy link
Member

@StevenACoffman StevenACoffman commented Jan 26, 2022

gqlparser v2.3.1 appears to work ok, but v2.3.0 gqlparser had a PR that needed to be reverted.

FYI I cut a new v2.3.0 gqlparser release https://github.com/vektah/gqlparser/ thinking it had been a really long time, but it looks like the vektah/gqlparser#112 might have been half baked as it causes problems for gqlgen and genqlient:

go get -d github.com/vektah/gqlparser/v2@v2.3.0
go get github.com/99designs/gqlgen/cmd@v0.14.0
go mod tidy
go generate ./...
go test ./...
$ make example

Signed-off-by: Steve Coffman steve@khanacademy.org

@StevenACoffman StevenACoffman marked this pull request as draft January 26, 2022 16:35
@StevenACoffman StevenACoffman added the help wanted Issues that anyone could pick up and implement if useful to them label Jan 26, 2022
Signed-off-by: Steve Coffman <steve@khanacademy.org>
@StevenACoffman StevenACoffman marked this pull request as ready for review January 26, 2022 21:32
@benjaminjkraft
Copy link
Collaborator

Thanks for testing and fixing the issue! Is there a reason to upgrade in genqlient? If there's a new feature we need or whatnot I'm happy to but I don't know if there's a reason to make our users upgrade if not (they can always just choose to upgrade in their own go.mod).

@StevenACoffman StevenACoffman changed the title WIP: gqlparser v2.3.0 broken gqlparser v2.3.0 broken Jan 26, 2022
@StevenACoffman StevenACoffman changed the title gqlparser v2.3.0 broken gqlparser v2.3.0 Jan 26, 2022
@StevenACoffman StevenACoffman changed the title gqlparser v2.3.0 gqlparser v2.3.1 Jan 26, 2022
@StevenACoffman
Copy link
Member Author

StevenACoffman commented Jan 26, 2022

Mostly vektah/gqlparser@v2.3.1 has bugfixes that end users may notice when using current genqlient out-of-the-box. I was looking at how hard it would be to implement #164 by fixing vektah/gqlparser#166 ( some initial work here: vektah/gqlparser#169 ) and I wanted to insure that future releases of vektah/gqlparser would not break genqlient.

What's Changed in gqlparser v2.3.1 since v2.2.0

@csilvers
Copy link
Member

I feel ben should have the final word, but I'm fine with this fwiw.

@benjaminjkraft
Copy link
Collaborator

Thanks for the explanation. I thought about it more and you've convinced me -- since gqlparser is internal to genqlient it makes good sense for us to upgrade it even though users may also use it via other libraries (i.e. gqlgen). If it doesn't work right they see that as our bug even if the cause is in gqlparser.

@benjaminjkraft benjaminjkraft merged commit 6bedb66 into main Jan 27, 2022
@benjaminjkraft benjaminjkraft deleted the gqlparser_update branch January 27, 2022 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Issues that anyone could pick up and implement if useful to them
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants