File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ import type { Maybe } from '../jsutils/Maybe';
66import type { ObjMap } from '../jsutils/ObjMap' ;
77import { toObjMap } from '../jsutils/toObjMap' ;
88
9+ import type { GraphQLErrorBehavior } from '../error/ErrorBehavior' ;
10+ import { isErrorBehavior } from '../error/ErrorBehavior' ;
911import type { GraphQLError } from '../error/GraphQLError' ;
1012
1113import type {
@@ -31,8 +33,6 @@ import {
3133import type { GraphQLDirective } from './directives' ;
3234import { isDirective , specifiedDirectives } from './directives' ;
3335import { __Schema } from './introspection' ;
34- import type { GraphQLErrorBehavior } from '../error' ;
35- import { isErrorBehavior } from '../error/ErrorBehavior' ;
3636
3737/**
3838 * Test if the given value is a GraphQL schema.
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ import { keyMap } from '../jsutils/keyMap';
55import { mapValue } from '../jsutils/mapValue' ;
66import type { Maybe } from '../jsutils/Maybe' ;
77
8+ import type { GraphQLErrorBehavior } from '../error/ErrorBehavior' ;
9+
810import type {
911 DirectiveDefinitionNode ,
1012 DocumentNode ,
@@ -83,7 +85,6 @@ import { assertValidSDLExtension } from '../validation/validate';
8385import { getDirectiveValues } from '../execution/values' ;
8486
8587import { valueFromAST } from './valueFromAST' ;
86- import type { GraphQLErrorBehavior } from '../error' ;
8788
8889interface Options extends GraphQLSchemaValidationOptions {
8990 /**
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ function printSchemaDefinition(schema: GraphQLSchema): Maybe<string> {
9797 const directives =
9898 schema . defaultErrorBehavior !== 'PROPAGATE'
9999 ? `@behavior(onError: ${ schema . defaultErrorBehavior } ) `
100- : `` ;
100+ : '' ;
101101
102102 return (
103103 printDescription ( schema ) +
You can’t perform that action at this time.
0 commit comments