diff --git a/packages/ferry_generator/lib/graphql_builder.dart b/packages/ferry_generator/lib/graphql_builder.dart index 08b582f4..3a226c75 100644 --- a/packages/ferry_generator/lib/graphql_builder.dart +++ b/packages/ferry_generator/lib/graphql_builder.dart @@ -129,7 +129,9 @@ class GraphqlBuilder implements Builder { config.enumFallbackConfig, generatePossibleTypesMap: config.shouldGeneratePossibleTypes, allocator: schemaAllocator, - triStateValueConfig: triStateValueConfig), + triStateValueConfig: triStateValueConfig, + generateVarsCreateFactories: + config.shouldGenerateVarsCreateFactories), }; for (var entry in libs.entries) { diff --git a/packages/ferry_generator/pubspec.yaml b/packages/ferry_generator/pubspec.yaml index 066ddf4d..f04a6e3d 100644 --- a/packages/ferry_generator/pubspec.yaml +++ b/packages/ferry_generator/pubspec.yaml @@ -12,7 +12,7 @@ topics: - codegen dependencies: gql: '>=0.14.0 <2.0.0' - gql_code_builder: ^0.10.0 + gql_code_builder: ^0.11.0 gql_tristate_value: ^1.0.0 built_collection: ^5.0.0 code_builder: ^4.3.0 diff --git a/packages/ferry_test_graphql2/pubspec.yaml b/packages/ferry_test_graphql2/pubspec.yaml index eec0b9f2..a8cd5363 100644 --- a/packages/ferry_test_graphql2/pubspec.yaml +++ b/packages/ferry_test_graphql2/pubspec.yaml @@ -12,7 +12,7 @@ dependencies: ferry_exec: ^0.6.1-dev.0+1 built_value: ^8.0.4 built_collection: ^5.0.0 - gql_code_builder: ^0.10.0 + gql_code_builder: ^0.11.0 dev_dependencies: test: ^1.16.8 build_runner: ^2.0.2