@graphql-eslint/eslint-plugin 3.2.0-alpha-4ca7218.0 → 3.3.0-alpha-b07557f.0

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.
@@ -54,10 +54,25 @@ query user {
54
54
 
55
55
  The schema defines the following properties:
56
56
 
57
- ### `fieldName` (string)
57
+ ### `fieldName`
58
+
59
+ The object must be one of the following types:
60
+
61
+ * `asString`
62
+ * `asArray`
58
63
 
59
64
  Default: `"id"`
60
65
 
66
+ ---
67
+
68
+ # Sub Schemas
69
+
70
+ The schema defines the following additional types:
71
+
72
+ ## `asString` (string)
73
+
74
+ ## `asArray` (array)
75
+
61
76
  ## Resources
62
77
 
63
78
  - [Rule source](../../packages/plugin/src/rules/require-id-when-available.ts)
@@ -1,3 +1,4 @@
1
1
  import { GraphQLConfig } from 'graphql-config';
2
2
  import { ParserOptions } from './types';
3
- export declare function loadGraphqlConfig(options: ParserOptions): GraphQLConfig;
3
+ export declare function loadCachedGraphQLConfig(options: ParserOptions): GraphQLConfig;
4
+ export declare function loadGraphQLConfig(options: ParserOptions): GraphQLConfig;