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

Bring back deprecated CodingKey for localCacheMutation in selectionSetInitializers #467

Merged

Conversation

AnthonyMDev
Copy link
Contributor

This fixes a decoding error when the deprecated option localCacheMutations is present in the JSON config. We should ignore the key when decoding, but not throw an error if it's present.

This issue was surfaced from this comment on an unrelated issue.

Copy link

netlify bot commented Aug 22, 2024

Deploy Preview for apollo-ios-docc canceled.

Name Link
🔨 Latest commit 2e6af98
🔍 Latest deploy log https://app.netlify.com/sites/apollo-ios-docc/deploys/66c7b90f385eeb00084d134e

Copy link

netlify bot commented Aug 22, 2024

Deploy Preview for eclectic-pie-88a2ba canceled.

Name Link
🔨 Latest commit 2e6af98
🔍 Latest deploy log https://app.netlify.com/sites/eclectic-pie-88a2ba/deploys/66c7b90f4360dd0009952965

Copy link
Member

@calvincestari calvincestari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@AnthonyMDev AnthonyMDev merged commit 8e88dde into main Aug 23, 2024
38 checks passed
@AnthonyMDev AnthonyMDev deleted the fix-config-json-decoding-deprecated-localCacheMutations branch August 23, 2024 20:27
BobaFetters pushed a commit that referenced this pull request Aug 23, 2024
BobaFetters pushed a commit to apollographql/apollo-ios-codegen that referenced this pull request Aug 23, 2024
BobaFetters pushed a commit that referenced this pull request Aug 23, 2024
a55f4d20 Bring back deprecated CodingKey for localCacheMutation in selectionSetInitializers (#467)

git-subtree-dir: apollo-ios-codegen
git-subtree-split: a55f4d201031ef88be729ae04b07889041429a96
BobaFetters pushed a commit that referenced this pull request Aug 23, 2024
… for localCacheMutation in selectionSetInitializers

git-subtree-dir: apollo-ios-codegen
git-subtree-mainline: e89cc7c
git-subtree-split: a55f4d201031ef88be729ae04b07889041429a96
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