Skip to content

validation: Export rules missing in <14.6.0 using legacy names #2413

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/validation/rules/ExecutableDefinitions.d.ts
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';
10 changes: 10 additions & 0 deletions src/validation/rules/ExecutableDefinitions.js
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';
8 changes: 8 additions & 0 deletions src/validation/rules/LoneSchemaDefinition.d.ts
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';
10 changes: 10 additions & 0 deletions src/validation/rules/LoneSchemaDefinition.js
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';
8 changes: 8 additions & 0 deletions src/validation/rules/PossibleTypeExtensions.d.ts
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';
10 changes: 10 additions & 0 deletions src/validation/rules/PossibleTypeExtensions.js
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';
8 changes: 8 additions & 0 deletions src/validation/rules/UniqueDirectiveNames.d.ts
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';
10 changes: 10 additions & 0 deletions src/validation/rules/UniqueDirectiveNames.js
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';
8 changes: 8 additions & 0 deletions src/validation/rules/UniqueEnumValueNames.d.ts
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';
10 changes: 10 additions & 0 deletions src/validation/rules/UniqueEnumValueNames.js
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';
8 changes: 8 additions & 0 deletions src/validation/rules/UniqueFieldDefinitionNames.d.ts
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';
10 changes: 10 additions & 0 deletions src/validation/rules/UniqueFieldDefinitionNames.js
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';
8 changes: 8 additions & 0 deletions src/validation/rules/UniqueOperationTypes.d.ts
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';
10 changes: 10 additions & 0 deletions src/validation/rules/UniqueOperationTypes.js
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';
8 changes: 8 additions & 0 deletions src/validation/rules/UniqueTypeNames.d.ts
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';
10 changes: 10 additions & 0 deletions src/validation/rules/UniqueTypeNames.js
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';