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

Cleanup schema binding code #4

Merged
merged 1 commit into from Feb 13, 2018
Merged

Cleanup schema binding code #4

merged 1 commit into from Feb 13, 2018

Conversation

vektah
Copy link
Collaborator

@vektah vektah commented Feb 13, 2018

This splits a bunch of code out of the main package, and breaks it down into smaller functions.

Most importantly, scalars are now defined in a way that can be overridden in types.json. Not too useful on its own, but it will make custom scalars easier to implement.

I've also split Type from NamedType, which I think has really helped readability in templates.

Generated code is bit for bit identical.

@vektah vektah merged commit 51292db into master Feb 13, 2018
@vektah vektah deleted the cleanup-type-binding branch February 13, 2018 13:26
danielmai pushed a commit to outcaste-io/gqlgen that referenced this pull request Mar 18, 2022
fix(GraphQL): This PR change dgraph-io version to v2.1.1 in go.mod file.
StevenACoffman pushed a commit that referenced this pull request Sep 19, 2023
* Allow WebsocketInitFunc to add payload to Ack

The connection ACK message in the protocol for both
graphql-ws and graphql-transport-ws allows for a payload in the
connection ack message.

We really wanted to use this to establish better telemetry in our use of
websockets in graphql.

* Fix lint error in test

* Switch argument ordering.

---------

Co-authored-by: Chris Pride <cpride@observeinc.com>
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

1 participant