Skip to content

Commit

Permalink
feat: Update versions
Browse files Browse the repository at this point in the history
  • Loading branch information
budde377 committed Nov 23, 2023
1 parent 58d944c commit 1a0a445
Show file tree
Hide file tree
Showing 61 changed files with 2,086 additions and 24 deletions.
4 changes: 4 additions & 0 deletions packages/graphql_codegen/example/lib/fragments.graphql.dart
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ class _CopyWithImpl$Fragment$PersonSummary<TRes>
? _instance.$__typename
: ($__typename as String),
));

TRes parents(
Iterable<Fragment$PersonParent>? Function(
Iterable<
Expand All @@ -305,6 +306,7 @@ class _CopyWithImpl$Fragment$PersonSummary<TRes>
e,
(i) => i,
)))?.toList());

CopyWith$Fragment$PersonParent<TRes> get favParent {
final local$favParent = _instance.favParent;
return local$favParent == null
Expand All @@ -331,7 +333,9 @@ class _CopyWithStubImpl$Fragment$PersonSummary<TRes>
String? $__typename,
}) =>
_res;

parents(_fn) => _res;

CopyWith$Fragment$PersonParent<TRes> get favParent =>
CopyWith$Fragment$PersonParent.stub(_res);
}
Expand Down
21 changes: 21 additions & 0 deletions packages/graphql_codegen/example/lib/main.graphql.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class Variables$Query$FetchPerson {
Map<String, dynamic> _$data;

String get id => (_$data['id'] as String);

Map<String, dynamic> toJson() {
final result$data = <String, dynamic>{};
final l$id = id;
Expand All @@ -36,6 +37,7 @@ class Variables$Query$FetchPerson {
this,
(i) => i,
);

@override
bool operator ==(Object other) {
if (identical(this, other)) {
Expand Down Expand Up @@ -212,6 +214,7 @@ class _CopyWithImpl$Query$FetchPerson<TRes>
? _instance.$__typename
: ($__typename as String),
));

CopyWith$Query$FetchPerson$fetchPerson<TRes> get fetchPerson {
final local$fetchPerson = _instance.fetchPerson;
return local$fetchPerson == null
Expand All @@ -232,6 +235,7 @@ class _CopyWithStubImpl$Query$FetchPerson<TRes>
String? $__typename,
}) =>
_res;

CopyWith$Query$FetchPerson$fetchPerson<TRes> get fetchPerson =>
CopyWith$Query$FetchPerson$fetchPerson.stub(_res);
}
Expand Down Expand Up @@ -811,6 +815,7 @@ class _CopyWithImpl$Query$FetchPerson$fetchPerson<TRes>
? _instance.children
: (children as List<Fragment$PersonSummary>?),
));

TRes parents(
Iterable<Query$FetchPerson$fetchPerson$parents>? Function(
Iterable<
Expand All @@ -823,6 +828,7 @@ class _CopyWithImpl$Query$FetchPerson$fetchPerson<TRes>
e,
(i) => i,
)))?.toList());

CopyWith$Fragment$PersonParent<TRes> get favParent {
final local$favParent = _instance.favParent;
return local$favParent == null
Expand Down Expand Up @@ -862,9 +868,12 @@ class _CopyWithStubImpl$Query$FetchPerson$fetchPerson<TRes>
List<Fragment$PersonSummary>? children,
}) =>
_res;

parents(_fn) => _res;

CopyWith$Fragment$PersonParent<TRes> get favParent =>
CopyWith$Fragment$PersonParent.stub(_res);

children(_fn) => _res;
}

Expand Down Expand Up @@ -1164,6 +1173,7 @@ class _CopyWithImpl$Query$FetchPerson$fetchPerson$parents<TRes>
? _instance.favParent
: (favParent as Fragment$PersonParent?),
));

TRes parents(
Iterable<Fragment$PersonParent>? Function(
Iterable<
Expand All @@ -1175,6 +1185,7 @@ class _CopyWithImpl$Query$FetchPerson$fetchPerson$parents<TRes>
e,
(i) => i,
)))?.toList());

CopyWith$Fragment$PersonParent<TRes> get favParent {
final local$favParent = _instance.favParent;
return local$favParent == null
Expand All @@ -1201,7 +1212,9 @@ class _CopyWithStubImpl$Query$FetchPerson$fetchPerson$parents<TRes>
Fragment$PersonParent? favParent,
}) =>
_res;

parents(_fn) => _res;

CopyWith$Fragment$PersonParent<TRes> get favParent =>
CopyWith$Fragment$PersonParent.stub(_res);
}
Expand All @@ -1224,6 +1237,7 @@ class Variables$Mutation$UpdatePerson {
Map<String, dynamic> _$data;

String get id => (_$data['id'] as String);

Map<String, dynamic> toJson() {
final result$data = <String, dynamic>{};
final l$id = id;
Expand All @@ -1236,6 +1250,7 @@ class Variables$Mutation$UpdatePerson {
this,
(i) => i,
);

@override
bool operator ==(Object other) {
if (identical(this, other)) {
Expand Down Expand Up @@ -1413,6 +1428,7 @@ class _CopyWithImpl$Mutation$UpdatePerson<TRes>
? _instance.$__typename
: ($__typename as String),
));

CopyWith$Mutation$UpdatePerson$updatePerson<TRes> get updatePerson {
final local$updatePerson = _instance.updatePerson;
return local$updatePerson == null
Expand All @@ -1433,6 +1449,7 @@ class _CopyWithStubImpl$Mutation$UpdatePerson<TRes>
String? $__typename,
}) =>
_res;

CopyWith$Mutation$UpdatePerson$updatePerson<TRes> get updatePerson =>
CopyWith$Mutation$UpdatePerson$updatePerson.stub(_res);
}
Expand Down Expand Up @@ -1847,6 +1864,7 @@ class Variables$Subscription$WatchPerson {
Map<String, dynamic> _$data;

String? get id => (_$data['id'] as String?);

Map<String, dynamic> toJson() {
final result$data = <String, dynamic>{};
if (_$data.containsKey('id')) {
Expand All @@ -1862,6 +1880,7 @@ class Variables$Subscription$WatchPerson {
this,
(i) => i,
);

@override
bool operator ==(Object other) {
if (identical(this, other)) {
Expand Down Expand Up @@ -2044,6 +2063,7 @@ class _CopyWithImpl$Subscription$WatchPerson<TRes>
? _instance.$__typename
: ($__typename as String),
));

CopyWith$Subscription$WatchPerson$watchPerson<TRes> get watchPerson {
final local$watchPerson = _instance.watchPerson;
return local$watchPerson == null
Expand All @@ -2064,6 +2084,7 @@ class _CopyWithStubImpl$Subscription$WatchPerson<TRes>
String? $__typename,
}) =>
_res;

CopyWith$Subscription$WatchPerson$watchPerson<TRes> get watchPerson =>
CopyWith$Subscription$WatchPerson$watchPerson.stub(_res);
}
Expand Down
5 changes: 5 additions & 0 deletions packages/graphql_codegen/example/lib/schema.graphqls.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,13 @@ class Input$UpdatePersonInput {
Map<String, dynamic> _$data;

String get id => (_$data['id'] as String);

String? get full_name => (_$data['full_name'] as String?);

String? get nickname => (_$data['nickname'] as String?);

String? get website => (_$data['website'] as String?);

Map<String, dynamic> toJson() {
final result$data = <String, dynamic>{};
final l$id = id;
Expand All @@ -63,6 +67,7 @@ class Input$UpdatePersonInput {
this,
(i) => i,
);

@override
bool operator ==(Object other) {
if (identical(this, other)) {
Expand Down
20 changes: 14 additions & 6 deletions packages/graphql_codegen/example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ packages:
dependency: transitive
description:
name: _fe_analyzer_shared
sha256: ae92f5d747aee634b87f89d9946000c2de774be1d6ac3e58268224348cd0101a
sha256: eb376e9acf6938204f90eb3b1f00b578640d3188b4c8a8ec054f9f479af8d051
url: "https://pub.dev"
source: hosted
version: "61.0.0"
version: "64.0.0"
analyzer:
dependency: transitive
description:
name: analyzer
sha256: ea3d8652bda62982addfd92fdc2d0214e5f82e43325104990d4f4c4a2a313562
sha256: "69f54f967773f6c26c7dcb13e93d7ccee8b17a641689da39e878d5cf13b06893"
url: "https://pub.dev"
source: hosted
version: "5.13.0"
version: "6.2.0"
args:
dependency: transitive
description:
Expand Down Expand Up @@ -263,10 +263,10 @@ packages:
dependency: transitive
description:
name: gql_code_builder
sha256: "6e386a85f5d91daae82915337f566a43dfeb0a0df38caa372387fbc07d31b8c1"
sha256: b70e17fe62af58c3a9a3dfd619bf0b07ca15afe4d285001fbcd0852a40538401
url: "https://pub.dev"
source: hosted
version: "0.7.2"
version: "0.9.1+1"
gql_dedupe_link:
dependency: transitive
description:
Expand Down Expand Up @@ -315,6 +315,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.0.0"
gql_tristate_value:
dependency: transitive
description:
name: gql_tristate_value
sha256: ae045e7e272fbfd030084315140c683c9b032a9861a37165f68c2ecd8a759664
url: "https://pub.dev"
source: hosted
version: "1.0.0"
graphql:
dependency: "direct main"
description:
Expand Down
24 changes: 16 additions & 8 deletions packages/graphql_codegen/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ packages:
dependency: transitive
description:
name: _fe_analyzer_shared
sha256: ae92f5d747aee634b87f89d9946000c2de774be1d6ac3e58268224348cd0101a
sha256: "36a321c3d2cbe01cbcb3540a87b8843846e0206df3e691fa7b23e19e78de6d49"
url: "https://pub.dev"
source: hosted
version: "61.0.0"
version: "65.0.0"
analyzer:
dependency: transitive
description:
name: analyzer
sha256: ea3d8652bda62982addfd92fdc2d0214e5f82e43325104990d4f4c4a2a313562
sha256: dfe03b90ec022450e22513b5e5ca1f01c0c01de9c3fba2f7fd233cb57a6b9a07
url: "https://pub.dev"
source: hosted
version: "5.13.0"
version: "6.3.0"
args:
dependency: transitive
description:
Expand Down Expand Up @@ -173,10 +173,10 @@ packages:
dependency: "direct main"
description:
name: dart_style
sha256: "1efa911ca7086affd35f463ca2fc1799584fb6aa89883cf0af8e3664d6a02d55"
sha256: "40ae61a5d43feea6d24bd22c0537a6629db858963b99b4bc1c3db80676f32368"
url: "https://pub.dev"
source: hosted
version: "2.3.2"
version: "2.3.4"
file:
dependency: transitive
description:
Expand Down Expand Up @@ -221,10 +221,10 @@ packages:
dependency: "direct main"
description:
name: gql_code_builder
sha256: "6e386a85f5d91daae82915337f566a43dfeb0a0df38caa372387fbc07d31b8c1"
sha256: b70e17fe62af58c3a9a3dfd619bf0b07ca15afe4d285001fbcd0852a40538401
url: "https://pub.dev"
source: hosted
version: "0.7.2"
version: "0.9.1+1"
gql_dedupe_link:
dependency: transitive
description:
Expand Down Expand Up @@ -273,6 +273,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.0.0"
gql_tristate_value:
dependency: transitive
description:
name: gql_tristate_value
sha256: ae045e7e272fbfd030084315140c683c9b032a9861a37165f68c2ecd8a759664
url: "https://pub.dev"
source: hosted
version: "1.0.0"
graphql:
dependency: "direct dev"
description:
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql_codegen/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies:
dart_style: ^2.0.1
built_collection: ^5.0.0
path: ^1.8.0
gql_code_builder: ^0.7.1
gql_code_builder: ^0.9.0
recase: ^4.0.0
json_annotation: ^4.8.0
dev_dependencies:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,7 @@ class _CopyWithImpl$Query$Q<TRes> implements CopyWith$Query$Q<TRes> {
? _instance.$__typename
: ($__typename as String),
));

TRes docsWithTypename(
Iterable<Query$Q$docsWithTypename?>? Function(
Iterable<
Expand All @@ -599,6 +600,7 @@ class _CopyWithImpl$Query$Q<TRes> implements CopyWith$Query$Q<TRes> {
e,
(i) => i,
)))?.toList());

TRes docsWihtoutTypename(
Iterable<Query$Q$docsWihtoutTypename?>? Function(
Iterable<
Expand All @@ -613,6 +615,7 @@ class _CopyWithImpl$Query$Q<TRes> implements CopyWith$Query$Q<TRes> {
e,
(i) => i,
)))?.toList());

TRes docsWithAliasedTypename(
Iterable<Query$Q$docsWithAliasedTypename?>? Function(
Iterable<
Expand All @@ -627,6 +630,7 @@ class _CopyWithImpl$Query$Q<TRes> implements CopyWith$Query$Q<TRes> {
e,
(i) => i,
)))?.toList());

TRes docsWithFragment(
Iterable<Query$Q$docsWithFragment?>? Function(
Iterable<
Expand Down Expand Up @@ -655,9 +659,13 @@ class _CopyWithStubImpl$Query$Q<TRes> implements CopyWith$Query$Q<TRes> {
String? $__typename,
}) =>
_res;

docsWithTypename(_fn) => _res;

docsWihtoutTypename(_fn) => _res;

docsWithAliasedTypename(_fn) => _res;

docsWithFragment(_fn) => _res;
}

Expand Down
Loading

0 comments on commit 1a0a445

Please sign in to comment.