UNPKG

gqlcheck

Version:

Performs additional checks on your GraphQL documents and operations to ensure they conform to your rules, whilst allow-listing existing operations and their constituent parts (and allowing overrides on a per-field basis). Rules include max selection set d

14 lines (13 loc) 344 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.OperationPathsVisitor = OperationPathsVisitor; function OperationPathsVisitor(context) { return { enter(node) { context.initEnterNode(node); }, leave(node) { context.initLeaveNode(node); }, }; }