-
Notifications
You must be signed in to change notification settings - Fork 61
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
fix: Removes local cache mutation type condition setter #485
fix: Removes local cache mutation type condition setter #485
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect. Nice and easy fix!
ff4a7a6
to
2fc5a2f
Compare
9c991b3
to
8a71a6e
Compare
✅ Deploy Preview for apollo-ios-docc canceled.
|
✅ Deploy Preview for eclectic-pie-88a2ba canceled.
|
cba4dd7d fix: Removes local cache mutation type condition setter (#485) git-subtree-dir: apollo-ios-codegen git-subtree-split: cba4dd7d00604092950a9e340ef318e74287ce03
…on type condition setter git-subtree-dir: apollo-ios-codegen git-subtree-mainline: 53f7cad git-subtree-split: cba4dd7d00604092950a9e340ef318e74287ce03
Is there a document change for this? |
It is unclear how I can move setting an |
Hi @jimisaacs. We mention how to use |
Thanks! I think I figured it out. |
Fixes apollographql/apollo-ios#3443.
Simply removes the setter for mutable inline fragments (type conditions). The correct way to initialize with the type condition is to use
asRootEntityType
.