apollo-ios-dev icon indicating copy to clipboard operation
apollo-ios-dev copied to clipboard

Deprecate localCacheMutation selectionSetInitializer option

Open AnthonyMDev opened this issue 1 year ago • 1 comments

TL;DR

Updated the selection set initializers configuration to always generate initializers for local cache mutations

What changed?

  • Removed the explicit configuration for local cache mutations in the ApolloCodegenConfiguration struct.
  • Modified the SelectionSetInitializers enum to always generate initializers for local cache mutations
  • Deprecated the localCacheMutations option in SelectionSetInitializers.

How to test?

No specific test instructions provided.

Why make this change?

The change was made to streamline the configuration process and ensure consistent generation of initializers for local cache mutations.


AnthonyMDev avatar May 01 '24 01:05 AnthonyMDev

[!WARNING] This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite. Learn more

  • #350 Graphite 👈
  • #344 Graphite
  • #343 Graphite
  • #318 Graphite
  • #307 Graphite
  • #306 Graphite
  • #308 Graphite
  • main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @AnthonyMDev and the rest of your teammates on Graphite Graphite

AnthonyMDev avatar May 01 '24 01:05 AnthonyMDev

This was merged in as part of #431

AnthonyMDev avatar Aug 19 '24 21:08 AnthonyMDev