File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -428,6 +428,8 @@ export {
428428 printSchema ,
429429 // Print a GraphQLType to GraphQL Schema language.
430430 printType ,
431+ // Print a GraphQLDirective to GraphQL Schema language.
432+ printDirective ,
431433 // Prints the built-in introspection schema in the Schema Language format.
432434 printIntrospectionSchema ,
433435 // 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 @@ -268,7 +268,7 @@ function printInputValue(arg: GraphQLInputField): string {
268268 return argDecl + printDeprecated ( arg . deprecationReason ) ;
269269}
270270
271- function printDirective ( directive : GraphQLDirective ) : string {
271+ export function printDirective ( directive : GraphQLDirective ) : string {
272272 return (
273273 printDescription ( directive ) +
274274 'directive @' +
You can’t perform that action at this time.
0 commit comments