Skip to content

Commit 30981ee

Browse files
authored
Merge branch 'master' into federation-fixes
2 parents bf44cc9 + 391f743 commit 30981ee

File tree

63 files changed

+727
-332
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+727
-332
lines changed

.changeset/witty-tables-join.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

examples/persisted-documents-string-mode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"@graphql-typed-document-node/core": "3.2.0",
1111
"jest": "28.1.3",
1212
"babel-jest": "29.7.0",
13-
"@graphql-codegen/cli": "5.0.4",
13+
"@graphql-codegen/cli": "5.0.5",
1414
"@babel/core": "7.25.2",
1515
"@babel/preset-env": "7.25.3",
1616
"@babel/preset-typescript": "7.26.0"

examples/persisted-documents-string-mode/src/gql/graphql.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,13 @@ export class TypedDocumentString<TResult, TVariables>
3939
implements DocumentTypeDecoration<TResult, TVariables>
4040
{
4141
__apiType?: DocumentTypeDecoration<TResult, TVariables>['__apiType'];
42+
private value: string;
43+
public __meta__?: Record<string, any> | undefined;
4244

43-
constructor(private value: string, public __meta__?: Record<string, any> | undefined) {
45+
constructor(value: string, __meta__?: Record<string, any> | undefined) {
4446
super(value);
47+
this.value = value;
48+
this.__meta__ = __meta__;
4549
}
4650

4751
toString(): string & DocumentTypeDecoration<TResult, TVariables> {

examples/persisted-documents/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"@graphql-typed-document-node/core": "3.2.0",
1111
"jest": "28.1.3",
1212
"babel-jest": "29.7.0",
13-
"@graphql-codegen/cli": "5.0.4",
13+
"@graphql-codegen/cli": "5.0.5",
1414
"@babel/core": "7.25.2",
1515
"@babel/preset-env": "7.25.3",
1616
"@babel/preset-typescript": "7.26.0"

examples/programmatic-typescript/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
"dependencies": {
1313
"@graphql-codegen/core": "4.0.2",
1414
"@graphql-codegen/plugin-helpers": "5.1.0",
15-
"@graphql-codegen/typed-document-node": "5.0.13",
16-
"@graphql-codegen/typescript": "4.1.3",
17-
"@graphql-codegen/typescript-operations": "4.4.1",
18-
"@graphql-codegen/typescript-resolvers": "4.4.2",
15+
"@graphql-codegen/typed-document-node": "5.1.0",
16+
"@graphql-codegen/typescript": "4.1.5",
17+
"@graphql-codegen/typescript-operations": "4.5.1",
18+
"@graphql-codegen/typescript-resolvers": "4.4.4",
1919
"@graphql-tools/graphql-file-loader": "8.0.1",
2020
"@graphql-tools/load": "8.0.2",
2121
"@graphql-tools/schema": "10.0.6",

examples/react/apollo-client-defer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"graphql-yoga": "5.7.0"
1212
},
1313
"devDependencies": {
14-
"@graphql-codegen/cli": "^5.0.4",
14+
"@graphql-codegen/cli": "^5.0.5",
1515
"@types/jest": "^27.5.2",
1616
"@types/node": "^22.0.0",
1717
"@types/react": "^18.0.15",

examples/react/apollo-client-swc-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"devDependencies": {
1111
"@graphql-codegen/client-preset-swc-plugin": "0.2.0",
12-
"@graphql-codegen/cli": "^5.0.4",
12+
"@graphql-codegen/cli": "^5.0.5",
1313
"@vitejs/plugin-react-swc": "^3.3.0",
1414
"@types/react": "18.3.3",
1515
"@types/react-dom": "18.3.0",

examples/react/apollo-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"react-dom": "^18.2.0"
1010
},
1111
"devDependencies": {
12-
"@graphql-codegen/cli": "^5.0.4",
12+
"@graphql-codegen/cli": "^5.0.5",
1313
"@vitejs/plugin-react": "^4.0.0",
1414
"@types/jest": "^27.5.2",
1515
"@types/node": "^22.0.0",

examples/react/http-executor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"react-dom": "^18.2.0"
99
},
1010
"devDependencies": {
11-
"@graphql-codegen/cli": "^5.0.4",
11+
"@graphql-codegen/cli": "^5.0.5",
1212
"@vitejs/plugin-react": "^4.0.0",
1313
"@types/jest": "^27.5.2",
1414
"@types/node": "^22.0.0",

examples/react/nextjs-swr/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"swr": "^2.0.0"
2020
},
2121
"devDependencies": {
22-
"@graphql-codegen/cli": "^5.0.4",
22+
"@graphql-codegen/cli": "^5.0.5",
2323
"@graphql-codegen/schema-ast": "4.1.0",
2424
"@graphql-codegen/client-preset-swc-plugin": "0.2.0",
2525
"@types/node": "^22.0.0",

0 commit comments

Comments
 (0)