diff --git a/src/index.js b/src/index.js index 17641bb615..6c12426820 100644 --- a/src/index.js +++ b/src/index.js @@ -362,6 +362,8 @@ export { doTypesOverlap, // Asserts a string is a valid GraphQL name. assertValidName, + // Determine if a string is a valid GraphQL name. + isValidNameError, // Compares two GraphQLSchemas and detects breaking changes. findBreakingChanges, findDangerousChanges, diff --git a/src/utilities/index.js b/src/utilities/index.js index 3825427c0a..165406fd76 100644 --- a/src/utilities/index.js +++ b/src/utilities/index.js @@ -102,7 +102,7 @@ export { } from './typeComparators'; // Asserts that a string is a valid GraphQL name -export { assertValidName } from './assertValidName'; +export { assertValidName, isValidNameError } from './assertValidName'; // Compares two GraphQLSchemas and detects breaking changes. export {