@graphql-eslint/eslint-plugin 3.13.0-alpha-20221023200034-8eb7722 → 3.13.0-alpha-20221031135154-8208868
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
- package/schema.d.ts +0 -3
package/index.js
CHANGED
@@ -4337,7 +4337,7 @@ const getSiblings = (project) => {
|
|
4337
4337
|
if (!documentsKey) {
|
4338
4338
|
return [];
|
4339
4339
|
}
|
4340
|
-
let siblings = operationsCache.get(
|
4340
|
+
let siblings = operationsCache.get(documentsKey);
|
4341
4341
|
if (!siblings) {
|
4342
4342
|
debug$2('Loading operations from %o', project.documents);
|
4343
4343
|
const documents = project.loadDocumentsSync(project.documents, {
|
package/index.mjs
CHANGED
@@ -4331,7 +4331,7 @@ const getSiblings = (project) => {
|
|
4331
4331
|
if (!documentsKey) {
|
4332
4332
|
return [];
|
4333
4333
|
}
|
4334
|
-
let siblings = operationsCache.get(
|
4334
|
+
let siblings = operationsCache.get(documentsKey);
|
4335
4335
|
if (!siblings) {
|
4336
4336
|
debug$2('Loading operations from %o', project.documents);
|
4337
4337
|
const documents = project.loadDocumentsSync(project.documents, {
|
package/package.json
CHANGED
package/schema.d.ts
CHANGED
@@ -1,6 +1,3 @@
|
|
1
|
-
import { GraphQLSchema } from 'graphql';
|
2
1
|
import { GraphQLProjectConfig } from 'graphql-config';
|
3
2
|
import { ParserOptions, Schema } from './types';
|
4
|
-
import { ModuleCache } from './cache';
|
5
|
-
export declare const schemaCache: ModuleCache<Error | GraphQLSchema, any>;
|
6
3
|
export declare function getSchema(project: GraphQLProjectConfig, schemaOptions?: ParserOptions['schemaOptions']): Schema;
|