@graphql-codegen/visitor-plugin-common 5.8.0-alpha-20250320120627-eeef9e47372acd1e10d1ac7bd38d21ae7f65d817 → 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,13 +508,14 @@ export interface RawResolversConfig extends RawConfig {
|
|
|
508
508
|
/**
|
|
509
509
|
* @description Configures behavior for custom directives from various GraphQL libraries.
|
|
510
510
|
* @exampleMarkdown
|
|
511
|
+
* ## `@semanticNonNull`
|
|
511
512
|
* First, install `graphql-sock` peer dependency:
|
|
512
513
|
*
|
|
513
|
-
* ```
|
|
514
|
-
* npm install
|
|
514
|
+
* ```sh npm2yarn
|
|
515
|
+
* npm install -D graphql-sock
|
|
515
516
|
* ```
|
|
516
517
|
*
|
|
517
|
-
* Now, you can
|
|
518
|
+
* Now, you can enable support for `@semanticNonNull` directive:
|
|
518
519
|
*
|
|
519
520
|
* ```ts filename="codegen.ts"
|
|
520
521
|
* import type { CodegenConfig } from '@graphql-codegen/cli';
|
|
@@ -508,13 +508,14 @@ export interface RawResolversConfig extends RawConfig {
|
|
|
508
508
|
/**
|
|
509
509
|
* @description Configures behavior for custom directives from various GraphQL libraries.
|
|
510
510
|
* @exampleMarkdown
|
|
511
|
+
* ## `@semanticNonNull`
|
|
511
512
|
* First, install `graphql-sock` peer dependency:
|
|
512
513
|
*
|
|
513
|
-
* ```
|
|
514
|
-
* npm install
|
|
514
|
+
* ```sh npm2yarn
|
|
515
|
+
* npm install -D graphql-sock
|
|
515
516
|
* ```
|
|
516
517
|
*
|
|
517
|
-
* Now, you can
|
|
518
|
+
* Now, you can enable support for `@semanticNonNull` directive:
|
|
518
519
|
*
|
|
519
520
|
* ```ts filename="codegen.ts"
|
|
520
521
|
* import type { CodegenConfig } from '@graphql-codegen/cli';
|