Skip to content

Commit

Permalink
feat(ferry_generator)!: update to gql_code_builders 0.12.0. this extr…
Browse files Browse the repository at this point in the history
…acted the common serializers to a separate package. clients need to add gql_code_builder_serializers to their dependencies if they use ferry_generator.
  • Loading branch information
knaeckeKami committed May 19, 2024
1 parent bac82a3 commit 52e5389
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 11 deletions.
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
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
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"

0 comments on commit 52e5389

Please sign in to comment.