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(ferry_generator)!: update to gql_code_builders 0.12.0. this extr… #601

Merged
merged 1 commit into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 2 additions & 0 deletions docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Add the following to your `pubspec.yaml`:
dependencies:
ferry: #[latest-version]
gql_http_link: #[latest-version]
# common serializers, which the code generator will assume are available
gql_code_builder_serializers: #[latest-version]

dev_dependencies:
ferry_generator: #[latest-version]
Expand Down
2 changes: 1 addition & 1 deletion packages/ferry/lib/ferry_isolate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ class IsolateClient extends TypedLink {

/// adds a request to the requestController of the client on the isolate
/// this is useful for re-fetch and pagination
/// see https://ferrygraphql.com/docs/pagination
/// see https://ferry.gql-dart.dev/docs/pagination
Future<void> addRequestToRequestController<TData, TVars>(
OperationRequest<TData, TVars> request) {
_debugAssertUpdateResultTransferrable(request);
Expand Down
2 changes: 1 addition & 1 deletion packages/ferry/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ferry
version: 0.16.0-dev.2
homepage: https://ferrygraphql.com/
homepage: https://ferry.gql-dart.dev
description: Ferry is a simple, powerful GraphQL Client for Flutter and Dart.
repository: https://github.com/gql-dart/ferry
environment:
Expand Down
2 changes: 1 addition & 1 deletion packages/ferry_cache/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ferry_cache
version: 0.9.0-dev.1
homepage: https://ferrygraphql.com/
homepage: https://ferry.gql-dart.dev
description: A normalized, strongly typed, optimistic cache for GraphQL Operations and Fragments
repository: https://github.com/gql-dart/ferry
environment:
Expand Down
2 changes: 1 addition & 1 deletion packages/ferry_exec/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ferry_exec
version: 0.6.1-dev.0+1
homepage: https://ferrygraphql.com/
homepage: https://ferry.gql-dart.dev
description: A strongly typed execution interface for GraphQL operations
repository: https://github.com/gql-dart/ferry
environment:
Expand Down
4 changes: 2 additions & 2 deletions packages/ferry_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: ferry_flutter
version: 0.9.0-dev.3
homepage: https://ferrygraphql.com/
homepage: https://ferry.gql-dart.dev
description: Flutter widgets for the Ferry GraphQL client
repository: https://github.com/gql-dart/ferry
environment:
sdk: '>=2.12.0 <3.0.0'
sdk: '>=2.12.0 <4.0.0'
topics:
- graphql
- gql
Expand Down
2 changes: 1 addition & 1 deletion packages/ferry_generator/lib/serializer_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class SerializerBuilder implements Builder {
// GraphQL Operation serializer
refer(
'OperationSerializer',
'package:gql_code_builder/src/serializers/operation_serializer.dart',
'package:gql_code_builder_serializers/gql_code_builder_serializers.dart',
).call([]),
// User-defined custom serializers
...config.customSerializers.map((ref) => ref.call([])),
Expand Down
5 changes: 3 additions & 2 deletions packages/ferry_generator/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ferry_generator
version: 0.10.0-dev.2
homepage: https://ferrygraphql.com/
homepage: https://ferry.gql-dart.dev
description: Generated types for Ferry GraphQL Client
repository: https://github.com/gql-dart/ferry
environment:
Expand All @@ -12,7 +12,8 @@ topics:
- codegen
dependencies:
gql: '>=0.14.0 <2.0.0'
gql_code_builder: ^0.11.0
gql_code_builder: ^0.12.0
gql_code_builder_serializers: ^0.1.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_hive_store/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ferry_hive_store
version: 0.5.2
homepage: https://ferrygraphql.com/
homepage: https://ferry.gql-dart.dev
description: Hive-based Store implementation for Ferry GraphQL client
repository: https://github.com/gql-dart/ferry
environment:
Expand Down
2 changes: 1 addition & 1 deletion packages/ferry_store/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ferry_store
version: 0.5.3+1
homepage: https://ferrygraphql.com/
homepage: https://ferry.gql-dart.dev
description: Default Store for Ferry GraphQL client
repository: https://github.com/gql-dart/ferry
environment:
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.11.0
gql_code_builder_serializers: ^0.1.0
dev_dependencies:
test: ^1.16.8
build_runner: ^2.0.2
Expand Down
2 changes: 2 additions & 0 deletions website/netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build]
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF . ../docs"
Loading