1
1
# 🔮 Apollo iOS Roadmap
2
2
3
- ** Last updated: 2024-11-26 **
3
+ ** Last updated: 2024-12-10 **
4
4
5
5
For up to date release notes, refer to the project's [ Changelog] ( https://github.com/apollographql/apollo-ios/blob/main/CHANGELOG.md ) .
6
6
@@ -31,6 +31,13 @@ The `@defer` directive enables your queries to receive data for specific fields
31
31
* ✅ Local cache mutations
32
32
* 🔲 Selection Set Initializers (_ next_ )
33
33
34
+ ### Declarative caching
35
+
36
+ _ Status: [ PR #554 ] ( https://github.com/apollographql/apollo-ios-dev/pull/554 ) in review_
37
+
38
+ - Similar to Apollo Kotlin [ declarative caching] ( https://www.apollographql.com/docs/kotlin/caching/declarative-ids ) via the ` @typePolicy ` directive
39
+ - Provide ability to configure cache keys using directives on schema types as an alternative to programmatic cache key configuration
40
+
34
41
### [ Improvements to code generation configuration and performance] ( https://github.com/apollographql/apollo-ios/milestone/67 )
35
42
36
43
_ Status: To be released incrementally_
@@ -51,38 +58,33 @@ _Status: In design phase. Current RFC for design is available [here](https://git
51
58
52
59
### ` @oneOf ` Input Object Support
53
60
54
- _ Status: Awaiting final approval of RFC into the GraphQL specification ._
61
+ _ Status: Code complete. Will be included in the next minor version release (1.16.0) ._
55
62
56
63
For more information on this feature, see the [ RFC] ( https://github.com/graphql/graphql-spec/pull/825 ) for its addition to the GraphQL specification.
57
64
65
+ Support for this feature is considered experimental and subject to change until the RFC is approved and merged into the GraphQL specification.
66
+
58
67
### [ Reduce generated schema types] ( https://github.com/apollographql/apollo-ios/milestone/71 )
59
68
60
- _ Status: Not started _
69
+ _ Status: API Design in progress _
61
70
62
71
- Right now we are naively generating schema types that we don't always need. A smarter algorithm can reduce generated code for certain large schemas that are currently having every type in their schema generated
63
72
- Create configuration for manually indicating schema types you would like to have schema types and TestMocks generated for
64
73
65
- ### [ Mutable generated reponse models] ( https://github.com/apollographql/apollo-ios/issues/3246 )
66
-
67
- _ Status: Not started_
68
-
69
- - Provide a mechanism for making generated reponse models mutable.
70
- - This will allow mutability on an opt-in basis per selection set or definition.
71
-
72
74
### [ Support codegen of operations without response models] ( https://github.com/apollographql/apollo-ios/issues/3165 )
73
75
74
- _ Status: Not started _
76
+ _ Status: API Design in progress _
75
77
76
78
- Support generating models that expose only the minimal necessary data for operation execution (networking and caching).
77
79
- This would remove the generated response models, exposing response data as a simple ` JSONObject ` (ie. [ String: AnyHashable] ).
78
80
- This feature is useful for projects that want to use their own custom data models or have binary size constraints.
79
81
80
- ### Declarative caching
82
+ ### [ Mutable generated reponse models ] ( https://github.com/apollographql/apollo-ios/issues/3246 )
81
83
82
84
_ Status: Not started_
83
85
84
- - Similar to Apollo Kotlin [ declarative caching ] ( https://www.apollographql.com/docs/kotlin/caching/declarative-ids ) via the ` @typePolicy ` directive
85
- - Provide ability to configure cache keys using directives on schema types as an alternative to programmatic cache key configuration
86
+ - Provide a mechanism for making generated reponse models mutable.
87
+ - This will allow mutability on an opt-in basis per selection set or definition.
86
88
87
89
### Semantic Nullability
88
90
0 commit comments