Improvement
- Make cache public within
ReadTransaction
(#661): Some users have use cases for accessing a customNormalizedCache
implementation directly while performing cache transactions. A newReadOnlyNormalizedCache
protocol exposes the cache as read-only in theReadTransaction
and as writable in theReadWriteTransaction
. See PR #661.
Fixed
- Multiple deprecation warning directives not compiling (#3559): Codegen would generate an incorrect list-style character between the Swift deprecation annotations when using multiple deprecation directives in GraphQL. See PR #658. Thank you to @guilherme-anchorage for raising the issue.
- Non-
all
field merging causes selection set initializers to stop being generated for local cache mutations (#3554): Codegen will now force field merging behaviour and selection set initializer generation for local cache mutations. See PR #654. - Referenced fragments within a local cache mutation operation are generated as mutable (#3557): Any fragments referenced within a local cache mutation will now be generated as mutable too, including any fragments within those fragments. See PR #659.