File tree 6 files changed +17
-8
lines changed 6 files changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ export {
316
316
// Produce the GraphQL query recommended for a full schema introspection.
317
317
// Accepts optional IntrospectionOptions.
318
318
getIntrospectionQuery ,
319
- // Deprecated : use getIntrospectionQuery
319
+ // @deprecated : use getIntrospectionQuery - will be removed in v15
320
320
introspectionQuery ,
321
321
// Gets the target Operation from a Document
322
322
getOperationAST ,
@@ -357,9 +357,9 @@ export {
357
357
TypeInfo ,
358
358
// Coerces a JavaScript value to a GraphQL type, or produces errors.
359
359
coerceValue ,
360
- // @deprecated use coerceValue
360
+ // @deprecated use coerceValue - will be removed in v15
361
361
isValidJSValue ,
362
- // Determine if AST values adhere to a GraphQL type.
362
+ // @deprecated use validation - will be removed in v15
363
363
isValidLiteralValue ,
364
364
// Concatenates multiple AST together.
365
365
concatAST ,
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ export type ParseOptions = {
84
84
* specification.
85
85
*
86
86
* This option is provided to ease adoption of the final SDL specification
87
- * and will be removed in a future major release .
87
+ * and will be removed in v16 .
88
88
*/
89
89
allowLegacySDLEmptyFields ?: boolean ,
90
90
@@ -94,7 +94,7 @@ export type ParseOptions = {
94
94
* current specification.
95
95
*
96
96
* This option is provided to ease adoption of the final SDL specification
97
- * and will be removed in a future major release .
97
+ * and will be removed in v16 .
98
98
*/
99
99
allowLegacySDLImplementsInterfaces ?: boolean ,
100
100
Original file line number Diff line number Diff line change 10
10
// The GraphQL query recommended for a full schema introspection.
11
11
export {
12
12
getIntrospectionQuery ,
13
- // Deprecated , use getIntrospectionQuery()
13
+ // @deprecated , use getIntrospectionQuery() - will be removed in v15
14
14
introspectionQuery ,
15
15
} from './introspectionQuery' ;
16
16
export type {
@@ -86,10 +86,10 @@ export { TypeInfo } from './TypeInfo';
86
86
// Coerces a JavaScript value to a GraphQL type, or produces errors.
87
87
export { coerceValue } from './coerceValue' ;
88
88
89
- // @deprecated use coerceValue
89
+ // @deprecated use coerceValue - will be removed in v15
90
90
export { isValidJSValue } from './isValidJSValue' ;
91
91
92
- // Determine if AST values adhere to a GraphQL type.
92
+ // @deprecated use validation - will be removed in v15
93
93
export { isValidLiteralValue } from './isValidLiteralValue' ;
94
94
95
95
// Concatenates multiple AST together.
Original file line number Diff line number Diff line change @@ -112,6 +112,11 @@ export function getIntrospectionQuery(options?: IntrospectionOptions): string {
112
112
` ;
113
113
}
114
114
115
+ /**
116
+ * Deprecated, call getIntrospectionQuery directly.
117
+ *
118
+ * This function will be removed in v15
119
+ */
115
120
export const introspectionQuery = getIntrospectionQuery ( ) ;
116
121
117
122
export type IntrospectionQuery = { |
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ import type { GraphQLInputType } from '../type/definition';
12
12
13
13
/**
14
14
* Deprecated. Use coerceValue() directly for richer information.
15
+ *
16
+ * This function will be removed in v15
15
17
*/
16
18
export function isValidJSValue (
17
19
value : mixed ,
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ import ValidationContext from '../validation/ValidationContext';
21
21
* Utility which determines if a value literal node is valid for an input type.
22
22
*
23
23
* Deprecated. Rely on validation for documents containing literal values.
24
+ *
25
+ * This function will be removed in v15
24
26
*/
25
27
export function isValidLiteralValue (
26
28
type : GraphQLInputType ,
You can’t perform that action at this time.
0 commit comments