This is the first beta release of Apollo iOS 2.0 This release contains some APIs that are still in development and are subject to change prior to general release.
New
- Narrowly Scoped
SelectionSet
Equality (#736): Generated models now implementEquatable
andHashable
using only the relevant fields for the model. This means that named fragments that do not have access to fields from the parent operation that fetched them will be equal if only the fields the fragment can access are equal.
Changed
-
Remove Cocoapods Support (#723): Apollo iOS 2.0 will no longer support Cocoapods. While support was carried over in the alpha releases, this has been officially removed in beta 1.
-
Only Input Variables use
Int32
in generated models (#729): Generated models in alpha-2 generatedInt
asInt32
to more safely represent GraphQL spec compliant data. This made using the models much more cumbersome. Beta 1 changes this behavior so only input variables that may be sent to a GraphQL server useInt32
.
Fixed
- Fix nullable list of nullable items in
InputObject
(#730): Fixed a bug when generating a nullable list of nullable items on anInputObject
.