File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -429,6 +429,8 @@ export {
429
429
printSchema ,
430
430
// Print a GraphQLType to GraphQL Schema language.
431
431
printType ,
432
+ // Print a GraphQLDirective to GraphQL Schema language.
433
+ printDirective ,
432
434
// Prints the built-in introspection schema in the Schema Language format.
433
435
printIntrospectionSchema ,
434
436
// Create a GraphQLType from a GraphQL language AST.
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ export { lexicographicSortSchema } from './lexicographicSortSchema.js';
49
49
export {
50
50
printSchema ,
51
51
printType ,
52
+ printDirective ,
52
53
printIntrospectionSchema ,
53
54
} from './printSchema.js' ;
54
55
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ function printInputValue(arg: GraphQLInputField): string {
264
264
return argDecl + printDeprecated ( arg . deprecationReason ) ;
265
265
}
266
266
267
- function printDirective ( directive : GraphQLDirective ) : string {
267
+ export function printDirective ( directive : GraphQLDirective ) : string {
268
268
return (
269
269
printDescription ( directive ) +
270
270
'directive @' +
You can’t perform that action at this time.
0 commit comments