@graphql-codegen/visitor-plugin-common 5.8.0-alpha-20250320120109-28908ffcc6ecf4a9c25a8536be031463a200b604 → 5.8.0-alpha-20250320122134-6afb0d7a1e1148a4562c45dd9d54bfb96ce85e5a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-codegen/visitor-plugin-common",
|
|
3
|
-
"version": "5.8.0-alpha-
|
|
3
|
+
"version": "5.8.0-alpha-20250320122134-6afb0d7a1e1148a4562c45dd9d54bfb96ce85e5a",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
|
|
6
6
|
},
|
|
@@ -508,6 +508,15 @@ export interface RawResolversConfig extends RawConfig {
|
|
|
508
508
|
/**
|
|
509
509
|
* @description Configures behavior for custom directives from various GraphQL libraries.
|
|
510
510
|
* @exampleMarkdown
|
|
511
|
+
* ## `@semanticNonNull`
|
|
512
|
+
* First, install `graphql-sock` peer dependency:
|
|
513
|
+
*
|
|
514
|
+
* ```sh npm2yarn
|
|
515
|
+
* npm install -D graphql-sock
|
|
516
|
+
* ```
|
|
517
|
+
*
|
|
518
|
+
* Now, you can enable support for `@semanticNonNull` directive:
|
|
519
|
+
*
|
|
511
520
|
* ```ts filename="codegen.ts"
|
|
512
521
|
* import type { CodegenConfig } from '@graphql-codegen/cli';
|
|
513
522
|
*
|
|
@@ -508,6 +508,15 @@ export interface RawResolversConfig extends RawConfig {
|
|
|
508
508
|
/**
|
|
509
509
|
* @description Configures behavior for custom directives from various GraphQL libraries.
|
|
510
510
|
* @exampleMarkdown
|
|
511
|
+
* ## `@semanticNonNull`
|
|
512
|
+
* First, install `graphql-sock` peer dependency:
|
|
513
|
+
*
|
|
514
|
+
* ```sh npm2yarn
|
|
515
|
+
* npm install -D graphql-sock
|
|
516
|
+
* ```
|
|
517
|
+
*
|
|
518
|
+
* Now, you can enable support for `@semanticNonNull` directive:
|
|
519
|
+
*
|
|
511
520
|
* ```ts filename="codegen.ts"
|
|
512
521
|
* import type { CodegenConfig } from '@graphql-codegen/cli';
|
|
513
522
|
*
|