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

Graphile Crystal (PostGraphile V5, Grafast, etc) #1747

Merged
merged 8,195 commits into from
Sep 16, 2023
Merged

Graphile Crystal (PostGraphile V5, Grafast, etc) #1747

merged 8,195 commits into from
Sep 16, 2023

Conversation

benjie
Copy link
Member

@benjie benjie commented Sep 16, 2023

This "PR" (not really a PR) has been just over 3 years in the making! It merges together the PostGraphile and Graphile Engine repositories into a monorepo, and then replaces the lookahead system in Graphile Engine with a new dedicated execution engine called Grafast. Grafast comes with its own HTTP server compliant with the GraphQL-over-HTTP spec, and this server is built via abstractions that enable it to support a much wider variety of web server frameworks, no longer requiring there to be an underlying Node http server. Since everything has been rebuilt from the ground-up on top of the new Grafast engine, a ridiculously huge amount of code has changed, so I had to roll back the main branch of this repo to the state it was at PostGraphile v4.7 (3.5 years ago, when the V5 work branched off). For PostGraphile V4, please see the legacy branch.

To read more about what this means, please read:

I think it fixes the following issues, and probably loads more:

benjie and others added 30 commits August 10, 2023 08:45
…erty which is the underlying Postgres client for use with `pgTyped`, `zapatos`, and other libraries that can use a raw postgres client. This is exposed via `NodePostgresPgClient` interface which is a subtype of `PgClient`.
Releases:
  @dataplan/json@0.0.1-beta.4
  @dataplan/pg@0.0.1-beta.4
  @grafserv/persisted@0.0.0-beta.4
  grafast@0.0.1-beta.4
  grafserv@0.0.1-beta.4
  graphile-build-pg@5.0.0-beta.6
  graphile-build@5.0.0-beta.5
  graphile-utils@5.0.0-beta.6
  graphile@5.0.0-beta.6
  pgl@5.0.0-beta.6
  postgraphile@5.0.0-beta.6

[skip ci]
`.expression` doesn't exists and I think `.select` is the correct way.
@benjie benjie marked this pull request as ready for review September 16, 2023 18:25
@benjie benjie merged commit 0911db2 into main Sep 16, 2023
25 checks passed
@benjie benjie deleted the v5 branch September 18, 2023 12:20
@kaushalyap
Copy link

Does v5 support GET method out of the box, I am asking because a related issue is referenced here?
If so how to achieve that in v5?

@benjie
Copy link
Member Author

benjie commented Oct 4, 2023

Please file a separate issue, ask in the relevant issue (e.g. #442), or ask in chat in future.

Yes; see: https://postgraphile.org/postgraphile/next/config#grafserv-options graphqlOverGET

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

9 participants