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

Small edits on the trusted documents page #10745

Merged
merged 2 commits into from
Jun 18, 2024
Merged

Conversation

benjie
Copy link
Contributor

@benjie benjie commented Jun 7, 2024

Super happy that you're making trusted documents so easy to use! Whilst reviewing the text I spotted a few typos and awkward sentences so here are some minor edits ❤️

Line 7 you should review carefully, I've significantly changed the meaning of the sentence, so if I'm mistaken please correct me.

@dac09 dac09 requested a review from dthyresson June 7, 2024 11:59
@dac09
Copy link
Collaborator

dac09 commented Jun 7, 2024

Thanks @benjie - changes look correct to me, but will @dthyresson verify and merge ✌️

@Josh-Walker-GM Josh-Walker-GM added the contributor-pr Use to automatically add PRs to the "Contributor PRs" Project Board label Jun 10, 2024
@Josh-Walker-GM Josh-Walker-GM added this to the next-release milestone Jun 10, 2024
@Josh-Walker-GM Josh-Walker-GM added release:docs This PR only updates docs changesets-ok Override the changesets check and removed changesets-ok Override the changesets check labels Jun 10, 2024
@dthyresson dthyresson self-assigned this Jun 18, 2024
@dthyresson dthyresson added the changesets-ok Override the changesets check label Jun 18, 2024
Copy link
Contributor

@dthyresson dthyresson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @benjie !

@@ -4,7 +4,7 @@ RedwoodJS can be setup to enforce [persisted operations](https://the-guild.dev/g

Use trusted documents if your GraphQL API is only for your own app (which is the case for most GraphQL APIs) for a massively decreased attack-surface, increased performance, and decreased bandwidth usage.

At app build time, Redwood will extract the GraphQL documents (queries, etc) and make them available to the server. At run time, you can then send "document id" or "hash" instead of the whole document; only accept requests with a known document id.
At app build time, Redwood will extract the GraphQL documents (queries, etc) and make them available to the server. At run time, you must then send "document id" or "hash" instead of the whole document as the server will only accept requests with a known document id.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct!

@dthyresson dthyresson enabled auto-merge (squash) June 18, 2024 17:36
@dthyresson dthyresson merged commit c66fdf7 into redwoodjs:main Jun 18, 2024
49 of 50 checks passed
@benjie benjie deleted the patch-1 branch June 19, 2024 06:48
Josh-Walker-GM pushed a commit that referenced this pull request Jun 25, 2024
Super happy that you're making trusted documents so easy to use! Whilst
reviewing the text I spotted a few typos and awkward sentences so here
are some minor edits ❤️

Line 7 you should review carefully, I've significantly changed the
meaning of the sentence, so if I'm mistaken please correct me.

Co-authored-by: David Thyresson <dthyresson@gmail.com>
@Josh-Walker-GM Josh-Walker-GM modified the milestones: next-release, v8.0.0 Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changesets-ok Override the changesets check contributor-pr Use to automatically add PRs to the "Contributor PRs" Project Board release:docs This PR only updates docs topic/docs
Projects
Archived in project
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants