Some caches get reset with createMockEnvironment
Open
- Dominant language
- Rust
- Stars
- 19k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
It happens when you have two queries that request different subfields of the same root field, and one of the queries has some nested subfields:
https://github.com/Hypnosphi/relay-resets-cache
```
npm install
npm test
```
`user.name` becomes undefined after resolving the second query
Contributor guide
Assessment
This issue has not been assessed yet.