forked from graphql/graphql-js
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
validation: Export rules missing in <14.6.0 using legacy names
It's recomended to update to 14.6.0 and start using correct exports added in graphql#2400 but if you stuck on earlier version you can use these exports as temporary workaround. Note: these exports are deprecated and will be removed in v16
- Loading branch information
1 parent
0bcef09
commit f3917f6
Showing
16 changed files
with
144 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/** | ||
* @deprecated and will be removed in v16 | ||
* Please use either: | ||
* import { ExecutableDefinitionsRule } from 'graphql' | ||
* or | ||
* import { ExecutableDefinitionsRule } from 'graphql/validation' | ||
*/ | ||
export { ExecutableDefinitionsRule as ExecutableDefinitions } from './ExecutableDefinitionsRule'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// @flow strict | ||
|
||
/** | ||
* @deprecated and will be removed in v16 | ||
* Please use either: | ||
* import { ExecutableDefinitionsRule } from 'graphql' | ||
* or | ||
* import { ExecutableDefinitionsRule } from 'graphql/validation' | ||
*/ | ||
export { ExecutableDefinitionsRule as ExecutableDefinitions } from './ExecutableDefinitionsRule'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/** | ||
* @deprecated and will be removed in v16 | ||
* Please use either: | ||
* import { LoneSchemaDefinitionRule } from 'graphql' | ||
* or | ||
* import { LoneSchemaDefinitionRule } from 'graphql/validation' | ||
*/ | ||
export { LoneSchemaDefinitionRule as LoneSchemaDefinition } from './LoneSchemaDefinitionRule'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// @flow strict | ||
|
||
/** | ||
* @deprecated and will be removed in v16 | ||
* Please use either: | ||
* import { LoneSchemaDefinitionRule } from 'graphql' | ||
* or | ||
* import { LoneSchemaDefinitionRule } from 'graphql/validation' | ||
*/ | ||
export { LoneSchemaDefinitionRule as LoneSchemaDefinition } from './LoneSchemaDefinitionRule'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/** | ||
* @deprecated and will be removed in v16 | ||
* Please use either: | ||
* import { PossibleTypeExtensionsRule } from 'graphql' | ||
* or | ||
* import { PossibleTypeExtensionsRule } from 'graphql/validation' | ||
*/ | ||
export { PossibleTypeExtensionsRule as PossibleTypeExtensions } from './PossibleTypeExtensionsRule'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// @flow strict | ||
|
||
/** | ||
* @deprecated and will be removed in v16 | ||
* Please use either: | ||
* import { PossibleTypeExtensionsRule } from 'graphql' | ||
* or | ||
* import { PossibleTypeExtensionsRule } from 'graphql/validation' | ||
*/ | ||
export { PossibleTypeExtensionsRule as PossibleTypeExtensions } from './PossibleTypeExtensionsRule'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/** | ||
* @deprecated and will be removed in v16 | ||
* Please use either: | ||
* import { UniqueDirectiveNamesRule } from 'graphql' | ||
* or | ||
* import { UniqueDirectiveNamesRule } from 'graphql/validation' | ||
*/ | ||
export { UniqueDirectiveNamesRule as UniqueDirectiveNames } from './UniqueDirectiveNamesRule'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// @flow strict | ||
|
||
/** | ||
* @deprecated and will be removed in v16 | ||
* Please use either: | ||
* import { UniqueDirectiveNamesRule } from 'graphql' | ||
* or | ||
* import { UniqueDirectiveNamesRule } from 'graphql/validation' | ||
*/ | ||
export { UniqueDirectiveNamesRule as UniqueDirectiveNames } from './UniqueDirectiveNamesRule'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/** | ||
* @deprecated and will be removed in v16 | ||
* Please use either: | ||
* import { UniqueEnumValueNamesRule } from 'graphql' | ||
* or | ||
* import { UniqueEnumValueNamesRule } from 'graphql/validation' | ||
*/ | ||
export { UniqueEnumValueNamesRule as UniqueEnumValueNames } from './UniqueEnumValueNamesRule'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// @flow strict | ||
|
||
/** | ||
* @deprecated and will be removed in v16 | ||
* Please use either: | ||
* import { UniqueEnumValueNamesRule } from 'graphql' | ||
* or | ||
* import { UniqueEnumValueNamesRule } from 'graphql/validation' | ||
*/ | ||
export { UniqueEnumValueNamesRule as UniqueEnumValueNames } from './UniqueEnumValueNamesRule'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/** | ||
* @deprecated and will be removed in v16 | ||
* Please use either: | ||
* import { UniqueFieldDefinitionNamesRule } from 'graphql' | ||
* or | ||
* import { UniqueFieldDefinitionNamesRule } from 'graphql/validation' | ||
*/ | ||
export { UniqueFieldDefinitionNamesRule as UniqueFieldDefinitionNames } from './UniqueFieldDefinitionNamesRule'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// @flow strict | ||
|
||
/** | ||
* @deprecated and will be removed in v16 | ||
* Please use either: | ||
* import { UniqueFieldDefinitionNamesRule } from 'graphql' | ||
* or | ||
* import { UniqueFieldDefinitionNamesRule } from 'graphql/validation' | ||
*/ | ||
export { UniqueFieldDefinitionNamesRule as UniqueFieldDefinitionNames } from './UniqueFieldDefinitionNamesRule'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/** | ||
* @deprecated and will be removed in v16 | ||
* Please use either: | ||
* import { UniqueOperationTypesRule } from 'graphql' | ||
* or | ||
* import { UniqueOperationTypesRule } from 'graphql/validation' | ||
*/ | ||
export { UniqueOperationTypesRule as UniqueOperationTypes } from './UniqueOperationTypesRule'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// @flow strict | ||
|
||
/** | ||
* @deprecated and will be removed in v16 | ||
* Please use either: | ||
* import { UniqueOperationTypesRule } from 'graphql' | ||
* or | ||
* import { UniqueOperationTypesRule } from 'graphql/validation' | ||
*/ | ||
export { UniqueOperationTypesRule as UniqueOperationTypes } from './UniqueOperationTypesRule'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/** | ||
* @deprecated and will be removed in v16 | ||
* Please use either: | ||
* import { UniqueTypeNamesRule } from 'graphql' | ||
* or | ||
* import { UniqueTypeNamesRule } from 'graphql/validation' | ||
*/ | ||
export { UniqueTypeNamesRule as UniqueTypeNames } from './UniqueTypeNamesRule'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// @flow strict | ||
|
||
/** | ||
* @deprecated and will be removed in v16 | ||
* Please use either: | ||
* import { UniqueTypeNamesRule } from 'graphql' | ||
* or | ||
* import { UniqueTypeNamesRule } from 'graphql/validation' | ||
*/ | ||
export { UniqueTypeNamesRule as UniqueTypeNames } from './UniqueTypeNamesRule'; |