Skip to content

Commit f787d9f

Browse files
aeizleebyron
authored andcommitted
Added printIntrospectionSchema to exports (#905)
Docs at http://graphql.org/graphql-js/utilities/ say "You can import either from the graphql/utilities module, or from the root graphql module" and lists printIntrospectionSchema, yet it is not exported via the root module.
1 parent a4c2c5a commit f787d9f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,10 @@ export {
319319
// Print a GraphQLSchema to GraphQL Schema language.
320320
printSchema,
321321

322+
// Prints the built-in introspection schema in the Schema Language
323+
// format.
324+
printIntrospectionSchema,
325+
322326
// Print a GraphQLType to GraphQL Schema language.
323327
printType,
324328

0 commit comments

Comments
 (0)