This commit is contained in:
14
node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.d.ts
generated
vendored
Normal file
14
node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.d.ts
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import { ASTVisitor } from '../../../language/visitor';
|
||||
import { ValidationContext } from '../../ValidationContext';
|
||||
|
||||
/**
|
||||
* No deprecated
|
||||
*
|
||||
* A GraphQL document is only valid if all selected fields and all used enum values have not been
|
||||
* deprecated.
|
||||
*
|
||||
* Note: This rule is optional and is not part of the Validation section of the GraphQL
|
||||
* Specification. The main purpose of this rule is detection of deprecated usages and not
|
||||
* necessarily to forbid their use when querying a service.
|
||||
*/
|
||||
export function NoDeprecatedCustomRule(context: ValidationContext): ASTVisitor;
|
||||
Reference in New Issue
Block a user