Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(input-create): Passing through builder options to schema builder #585

Merged
merged 4 commits into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
7 changes: 6 additions & 1 deletion packages/ferry_generator/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ topics:
- codegen
dependencies:
gql: '>=0.14.0 <2.0.0'
gql_code_builder: ^0.10.0
#gql_code_builder: ^0.10.1
gql_code_builder:
git:
url: 'https://github.com/gql-dart/gql.git'
ref: 'bfafca57c04e5615bb38cd74f6e6b3e71d18994f'
path: ./codegen/gql_code_builder
caffeineflo marked this conversation as resolved.
Show resolved Hide resolved
gql_tristate_value: ^1.0.0
built_collection: ^5.0.0
code_builder: ^4.3.0
Expand Down
7 changes: 6 additions & 1 deletion packages/ferry_test_graphql2/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ 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.10.0+1
gql_code_builder:
git:
url: 'https://github.com/gql-dart/gql.git'
ref: 'bfafca57c04e5615bb38cd74f6e6b3e71d18994f'
path: ./codegen/gql_code_builder
caffeineflo marked this conversation as resolved.
Show resolved Hide resolved
dev_dependencies:
test: ^1.16.8
build_runner: ^2.0.2
Expand Down
Loading