hasura / hasura/graphql-engine
[cloud] [caching] Support @cached for subscriptions initial state load
Open
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
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