- Fixed - Not generating code for subtypes only used as input to mutations: If you are using a JSON format schema that was fetched via GraphQL introspection code generation will now generate all referenced subtypes. #2583 Thank you to @vrutberg for reporting the issue.
- Fixed - When using the test mock, touching a
GraphQLEnum
property will cause a crash: JSON Encoding the mocks into theSelectionSet.DataDict
was causingCustomScalar
values to get encoded into their JSON values. The mock data is now converted into the correct format for theSelectionSet.DataDict
. #2584 Thank you to @asapo for reporting the issue. - Fixed - Add namespace for ApolloAPI types in generated code: The Apollo
DocumentType
enum is now correctly namespaced in generated code. #2585 Thank you to @matijakregarGH for reporting the issue. - Fixed - Problems with schema name in generated code:
- Fixed - Test mocks crash when touching array of objects: Test mock list of objects is now correctly converted into selection set data. #2591 Thank you to @konomae for reporting the issue.
- Fixed:
GraphQLNullable
nil coalescing:@exported import
statements now ensure that the operator overload is imported when using the generated models. #2600 Thank you to bassrock for reporting the issue.