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

[wip] add subscription docs #729

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rakeshkky
Copy link
Member

@rakeshkky rakeshkky commented Oct 23, 2024

Description 📝

Add docs for subscriptions.

Quick Links 🚀

Assertion Tests 🤖

@rakeshkky rakeshkky self-assigned this Oct 23, 2024
@hasura-bot
Copy link
Contributor

Error testing the assertions. Check the logs.

@hasura-bot
Copy link
Contributor

@rakeshkky Thanks for your PR! I've assigned @robertjdominguez to review it.

@rakeshkky rakeshkky changed the title add subscription docs [wip] add subscription docs Oct 23, 2024
@rakeshkky rakeshkky force-pushed the rakeshkky/eng-815-live-queries-docs branch from d0a7c7d to 63a8860 Compare October 23, 2024 12:10
Copy link

cloudflare-workers-and-pages bot commented Oct 23, 2024

Deploying v3-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0802954
Status: ✅  Deploy successful!
Preview URL: https://c6c6bd37.v3-docs-eny.pages.dev
Branch Preview URL: https://rakeshkky-eng-815-live-queri.v3-docs-eny.pages.dev

View logs


You can set the polling interval (in milliseconds) within the model's
[GraphQL definition](/supergraph-modeling/models.mdx#model-modelgraphqldefinition) to determine how often the engine
checks for updates. If not specified, the interval defaults to `1000` milliseconds (1 second).
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's add one/two sentences on what are the real world use-cases for too long, too short or the default setting.

To enable subscriptions in an existing DDN project, use the following CLI command:

```bash
ddn codemod enable-model-subscriptions
Copy link
Contributor

Choose a reason for hiding this comment

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

Mention - Coming soon if codemod is not ready by end of this week

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.

3 participants