graphql-introspection-filtering
Advanced tools
Comparing version 2.0.0-rc.0 to 2.0.0-rc.1
import Once from './Once'; | ||
import type { GraphQLResolveInfo } from 'graphql'; | ||
import type { OperationDefinitionNode } from 'graphql/language/ast'; | ||
import type { ClassDirectiveConfig, IntrospectionDirectiveVisitor, VisitableIntrospectionType, VisitableSchemaType, VisitorResult } from '../types'; | ||
@@ -11,3 +10,3 @@ /** | ||
protected _method: keyof IntrospectionDirectiveVisitor; | ||
protected _once: Once<OperationDefinitionNode>; | ||
protected _once: Once<any>; | ||
/** | ||
@@ -14,0 +13,0 @@ * Hook constructor |
@@ -31,3 +31,3 @@ "use strict"; | ||
var e_1, _a; | ||
var session = this._once.session(info.operation); | ||
var session = this._once.session(info.variableValues); | ||
if (session.canJoin) { | ||
@@ -34,0 +34,0 @@ return session.join(); |
{ | ||
"name": "graphql-introspection-filtering", | ||
"version": "2.0.0-rc.0", | ||
"version": "2.0.0-rc.1", | ||
"description": "Filter graphql schema introspection result to hide restricted fields and types", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
59774
997