apollographql / apollographql/apollo-feature-requests
Feature: Make `cache.readQuery` optimistic by default
Open
📕 cache
- Dominant language
- No language data
- Stars
- 132
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
`cache.readQuery()` should be optimistic by default, instead of requiring an `optimistic: true` param to be passed in to enable optimistic reads.
Contributor guide
No contributing guide indexed for this repository
Research direction
The request concerns the cache.readQuery entry point; start by tracing its implementation and existing handling of the optimistic parameter. Determine how a default optimistic read should behave, then verify that reads are optimistic without the parameter while explicit usage remains consistent. No files or tests are named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100