- Fixed - Generated code produces compile error when accessing
data
dictionary in theInputDict
struct if the name of the accessed property ishash
: Dyanamic Member Lookup has been removed fromInputDict
to prevent potential name clashes. #2607 - Fixed - XCFramework archive builds:
@inlinable
has been removed from parts ofApolloAPI
that were preventing xcframework builds with theBUILD_LIBRARY_FOR_DISTRIBUTION
build setting. #2613 - Fixed -
Variables
type in local cache mutations is not properly namespaced: TheVariables
type inLocalCacheMutation
now has the required prefix ofGraphQLOperation
to build successfully. #2615 - Fixed - Return error if no matches to schema or operation search paths: When a schema file could not be found errors were emitted but they were not indicative of the underlying problem. There is now validation to ensure that at least one match of the schema/operation search paths is found otherwise an error is thrown. #2618
- Fixed - File generation should ignore the
.build
/.swiftpm
/.Pods
folders: If code generation was executed from a path where subfolders contained the apollo-ios repo, it would find internal test schemas and fail. These special folders are now ignored. #2628 - Fixed - Download schema relative to root URL: Even though a root URL could be provided it was not being used in all schema download logic to output the downloaded schema file to the correct locaiton. This is now fixed. #2609 Thanks to @Anteo95 for the contribution.