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

feature: Support defer and stream GraphQL Directives in RedwoodRealtime #9235

Merged
merged 25 commits into from
Oct 31, 2023
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
af0d080
Adds useDeferStream to Realtime
dthyresson Sep 25, 2023
801990c
Don't overwrite the result with just data and errors to support repea…
dthyresson Sep 25, 2023
ee4a4ea
change option to enableDeferStream
dthyresson Sep 25, 2023
f1a6c8a
Adds defer and stream examples to RT setup
dthyresson Sep 25, 2023
ba27ce4
Rework defer and stream example templates
dthyresson Sep 25, 2023
1423fc8
countdown example now uses Repeater
dthyresson Sep 25, 2023
fd7966a
Merge branch 'main' into dt-realtime-defer-stream
dthyresson Sep 25, 2023
8fc3e19
Merge branch 'main' into dt-realtime-defer-stream
dthyresson Oct 16, 2023
fdf42b0
Documents realtime and defer and stream
dthyresson Oct 16, 2023
471cb34
clarify docs of SSE and serverful deploy
dthyresson Oct 16, 2023
8bb557b
Merge branch 'main' into dt-realtime-defer-stream
dthyresson Oct 20, 2023
5332b66
Updates realtime config docs
dthyresson Oct 20, 2023
561b2ab
Support schema coordinates. Adds enable defer to template
dthyresson Oct 23, 2023
ef65e05
Merge branch 'main' into dt-realtime-defer-stream
dthyresson Oct 23, 2023
53b2b7c
Update docs/docs/realtime.md
dthyresson Oct 31, 2023
5244e11
Update docs/docs/realtime.md
dthyresson Oct 31, 2023
bdf80bd
Remove duplicate enableDeferStream
dthyresson Oct 31, 2023
7576e9d
Update docs/docs/realtime.md
dthyresson Oct 31, 2023
7f1081b
Update docs/docs/realtime.md
dthyresson Oct 31, 2023
d8e0432
Update docs/docs/realtime.md
dthyresson Oct 31, 2023
83e4211
Update docs/docs/realtime.md
dthyresson Oct 31, 2023
b7748db
Delete packages/cli/src/commands/experimental/templates/defer/.keep
dthyresson Oct 31, 2023
c476f75
Delete packages/cli/src/commands/experimental/templates/stream/.keep
dthyresson Oct 31, 2023
41d4b16
Merge branch 'main' into dt-realtime-defer-stream
dthyresson Oct 31, 2023
8489f2d
Adds examples for stream and defer in docs
dthyresson Oct 31, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update docs/docs/realtime.md
Co-authored-by: Josh GM Walker <56300765+Josh-Walker-GM@users.noreply.github.com>
  • Loading branch information
dthyresson and Josh-Walker-GM authored Oct 31, 2023
commit 7576e9da243be1ea2a5732b16202e54276772ff1
2 changes: 1 addition & 1 deletion docs/docs/realtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ There are times where subscriptions are well-suited for a realtime problem — a

[Stream and defer](https://the-guild.dev/graphql/yoga-server/docs/features/defer-stream) are directives that allow you to improve latency for clients by sending data the most important data as soon as it's ready.

As applications grow, the GraphQL operation documents can get bigger.. The server will only send the response back once all the data requested in the query is ready. However, not all requested data is of equal importance, and the client may not need all of the data at once.
As applications grow, the GraphQL operation documents can get bigger. The server will only send the response back once all the data requested in the query is ready. However, not all requested data is of equal importance, and the client may not need all of the data at once.

#### Using Defer

Expand Down
Loading