Skip to content

fix(apollo-forest-run): apollo-compatible behavior for corrupt writes#630

Merged
vladar merged 3 commits intomainfrom
vladar/fix-invariant
Jan 30, 2026
Merged

fix(apollo-forest-run): apollo-compatible behavior for corrupt writes#630
vladar merged 3 commits intomainfrom
vladar/fix-invariant

Conversation

@vladar
Copy link
Contributor

@vladar vladar commented Jan 29, 2026

Edge case: manual cache writes with corrupt data (e.g. array replaces object) should be compatible with Apollo InMemoryCache.

Before this PR ForestRun was strict, but Apollo is way more relaxed in this case. Unfortunately we must follow the same approach.

@github-actions
Copy link

📊 Benchmark Analysis Report

No significant performance changes detected


Threshold: 5% change


Updated: 2026-01-29T16:57:02.901Z

@vladar vladar merged commit 1b84b04 into main Jan 30, 2026
6 checks passed
@vladar vladar deleted the vladar/fix-invariant branch January 30, 2026 10:59
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.

2 participants