Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop deep freezing query results #3883

Merged
merged 2 commits into from
Sep 5, 2018
Merged

Stop deep freezing query results #3883

merged 2 commits into from
Sep 5, 2018

Conversation

hwillson
Copy link
Member

@hwillson hwillson commented Sep 5, 2018

Apollo Client is currently deep freezing query results, making query results immutable. This restriction was originally put in place to reserve the possibility of potentially returning direct cache references in query results. Since doing this isn't currently planned, and there have been many requests to make query results mutable, this commit disables query result deep freezing.

Fixes #1909.

Apollo Client is currently deep freezing query results, making
query results immutable. This restriction was originally put
in place to reserve the possibility of potentially returning
direct cache references in query results. Since doing this
isn't currently planned, and there have been many requests to
make query results mutable, this commit disables query result
deep freezing.

Fixes #1909.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant