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 {
429429 printSchema ,
430430 // Print a GraphQLType to GraphQL Schema language.
431431 printType ,
432+ // Print a GraphQLDirective to GraphQL Schema language.
433+ printDirective ,
432434 // Prints the built-in introspection schema in the Schema Language format.
433435 printIntrospectionSchema ,
434436 // 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';
4949export {
5050 printSchema ,
5151 printType ,
52+ printDirective ,
5253 printIntrospectionSchema ,
5354} from './printSchema.js' ;
5455
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ function printInputValue(arg: GraphQLInputField): string {
264264 return argDecl + printDeprecated ( arg . deprecationReason ) ;
265265}
266266
267- function printDirective ( directive : GraphQLDirective ) : string {
267+ export function printDirective ( directive : GraphQLDirective ) : string {
268268 return (
269269 printDescription ( directive ) +
270270 'directive @' +
You can’t perform that action at this time.
0 commit comments