Skip to content

Commit

Permalink
Merge pull request #1237 from gdi2290/patch-1
Browse files Browse the repository at this point in the history
export isValidNameError
  • Loading branch information
mjmahone authored Feb 12, 2018
2 parents 98751e4 + 0487302 commit f2534a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f2534a1

Please sign in to comment.