hasura / hasura/graphql-engine

[cloud] [caching] Support @cached for subscriptions initial state load

Open
#7,024 0 comments 0 reactions 0 assignees View on GitHub
a/caching c/server t/server t/server/aviary
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

In case of subscriptions that are on public data or don't have session variables in the authz rules for their models, the initial load can be massively sped up using `@cached`.

Contributor guide

Open the contributing guide

Research direction

No file or test is named in the issue. Start by tracing the subscription initial-state load path and locating how the @cached directive is handled elsewhere. Define completion as cached subscriptions with public data or no session-variable authorization rules using the optimized initial load, with coverage for the affected cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript
Domain
api, backend, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.