Skip to content

[pull] 16.x.x from graphql:16.x.x #203

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

Open
wants to merge 503 commits into
base: 16.x.x
Choose a base branch
from
Open

[pull] 16.x.x from graphql:16.x.x #203

wants to merge 503 commits into from

Conversation

pull[bot]
Copy link

@pull pull bot commented Jun 29, 2024

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.3)

Can you help keep this open source service alive? 💖 Please sponsor : )

IvanGoncharov and others added 30 commits September 27, 2021 15:22
* Added missing documentation
* Added links to GraphQL spec
benjie and others added 30 commits May 4, 2025 09:13
As discussed at the GraphQL working group (via
graphql/graphql-wg#1614 and at various
meetings) and as agreed in last weeks meeting, the GraphQL.JS version
policy as drafted by @JoviDeCroock has been approved and aligns with the
informal policy we already had in place. As such, I have added it to the
README.

This PR also promotes a few headings (H3 -> H2) to make more structural
sense in the TOC.
Co-authored-by: Saihajpreet Singh <[email protected]>
Co-authored-by: Jovi De Croock <[email protected]>
Relevant to these PRs:

- #4380
- #4381
- #4382
- #4383
- #4391

In general this content was excellent - thanks @sarahxsanders! - but I
wanted to add a few minor updates. I've included comments in a few
places with reasoning.

If this PR is too much to review all at once, I'm happy to break it up
as I did review of each PR separately.
Adds guide "Using Directives in GraphQL.js"
Adds "Nullability in GraphQL.js" guide
Adds page on authorization strategies, right after
authentication/middleware page

Also adds a "Before you start" section about using ESM syntax JS code
snippets

---------

Co-authored-by: Jovi De Croock <[email protected]>
Updates "Going to Production" guide to cover a larger scope. The goal is
to cover most bases on what devs should consider before deploying to
production. I also added a checklist.

---------

Co-authored-by: Benjie <[email protected]>
Adds guide on caching strategies

---------

Co-authored-by: Benjie <[email protected]>
adds guide on Scaling your API, covering monoliths, schema stitching, and federation

---------

Co-authored-by: Benjie <[email protected]>
Expands on #4398 by recommending the trusted documents pattern which
90+% of GraphQL users should be using.
Adds new guide: Type Generation for GraphQL Servers

This is a part of the effort to expand GraphQL.js documentation

---------

Co-authored-by: Eddy Nguyen <[email protected]>
Co-authored-by: Benjie <[email protected]>
Adds guide "Operation Complexity Controls"

---------

Co-authored-by: Benjie <[email protected]>
This PR has some cleanup tasks:
- Reorganized the information architecture a bit so that sections flow
better
- Fixed broken links
- Fixed a code snippet that wasn't closed off/bleeding into a section
- Updated auth strategy guide w/ callouts for not using resolver auth in
production per @benjie request

Please let me know if there are any other tweaks I can include!

---------

Co-authored-by: Benjie <[email protected]>
Co-authored-by: Jovi De Croock <[email protected]>
Supersedes #4445
Fixes #4443

`VariablesInAllowedPositionRule` already validates this
)

The example shows graphql implementation, where the "root" is by mistake
put as string as part of the schema definition instead being a native js
const

BEFORE (root is undefined and wongly put into the schema itself):


![image](https://github.com/user-attachments/assets/3908e84e-1c3e-43b5-8633-163ea66fdfa0)


AFTER (root correctly defined outside of the schema):


![image](https://github.com/user-attachments/assets/e14d51cc-2f36-450d-aea8-384d6c6a0703)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⤵️ pull merge-conflict Resolve conflicts manually
Projects
None yet
Development

Successfully merging this pull request may close these issues.