Skip to content

Commit

Permalink
feat(ferry_generator): Passing through builder options to schema buil…
Browse files Browse the repository at this point in the history
…der (#585)
  • Loading branch information
caffeineflo authored Mar 11, 2024
1 parent c45d839 commit d0cb267
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion packages/ferry_generator/lib/graphql_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion packages/ferry_generator/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/ferry_test_graphql2/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d0cb267

Please sign in to comment.