@graphql-codegen/visitor-plugin-common 4.0.1-rc-20230615101359-8410322d8 → 4.0.1

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": "4.0.1-rc-20230615101359-8410322d8",
3
+ "version": "4.0.1",
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
  },
@@ -81,7 +81,9 @@ export interface RawResolversConfig extends RawConfig {
81
81
  * export default config;
82
82
  * ```
83
83
  *
84
- * ## Custom Context Type
84
+ * ## Custom Context Type by Path
85
+ *
86
+ * Note that the path should be relative to the generated file.
85
87
  *
86
88
  * ```ts filename="codegen.ts"
87
89
  * import type { CodegenConfig } from '@graphql-codegen/cli';
@@ -81,7 +81,9 @@ export interface RawResolversConfig extends RawConfig {
81
81
  * export default config;
82
82
  * ```
83
83
  *
84
- * ## Custom Context Type
84
+ * ## Custom Context Type by Path
85
+ *
86
+ * Note that the path should be relative to the generated file.
85
87
  *
86
88
  * ```ts filename="codegen.ts"
87
89
  * import type { CodegenConfig } from '@graphql-codegen/cli';