Skip to content

Commit f2534a1

Browse files
authored
Merge pull request #1237 from gdi2290/patch-1
export isValidNameError
2 parents 98751e4 + 0487302 commit f2534a1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,8 @@ export {
362362
doTypesOverlap,
363363
// Asserts a string is a valid GraphQL name.
364364
assertValidName,
365+
// Determine if a string is a valid GraphQL name.
366+
isValidNameError,
365367
// Compares two GraphQLSchemas and detects breaking changes.
366368
findBreakingChanges,
367369
findDangerousChanges,

src/utilities/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export {
102102
} from './typeComparators';
103103

104104
// Asserts that a string is a valid GraphQL name
105-
export { assertValidName } from './assertValidName';
105+
export { assertValidName, isValidNameError } from './assertValidName';
106106

107107
// Compares two GraphQLSchemas and detects breaking changes.
108108
export {

0 commit comments

Comments
 (0)