@graphql-tools/wrap 9.0.4 → 9.0.5-alpha-20220826122226-7c32e668
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-tools/wrap",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.5-alpha-20220826122226-7c32e668",
|
|
4
4
|
"description": "A set of utils for faster development of GraphQL tools",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@graphql-tools/delegate": "9.0.
|
|
11
|
-
"@graphql-tools/schema": "9.0.
|
|
12
|
-
"@graphql-tools/utils": "8.10.
|
|
10
|
+
"@graphql-tools/delegate": "9.0.4-alpha-20220826122226-7c32e668",
|
|
11
|
+
"@graphql-tools/schema": "9.0.2-alpha-20220826122226-7c32e668",
|
|
12
|
+
"@graphql-tools/utils": "8.10.1-alpha-20220826122226-7c32e668",
|
|
13
13
|
"tslib": "^2.4.0",
|
|
14
14
|
"value-or-promise": "1.0.11"
|
|
15
15
|
},
|
|
@@ -3,7 +3,7 @@ import { ExecutionRequest, ExecutionResult } from '@graphql-tools/utils';
|
|
|
3
3
|
import { Transform, DelegationContext, SubschemaConfig } from '@graphql-tools/delegate';
|
|
4
4
|
interface HoistFieldTransformationContext extends Record<string, any> {
|
|
5
5
|
}
|
|
6
|
-
export default class HoistField<TContext = Record<string, any>> implements Transform<HoistFieldTransformationContext, TContext> {
|
|
6
|
+
export default class HoistField<TContext extends Record<string, any> = Record<string, any>> implements Transform<HoistFieldTransformationContext, TContext> {
|
|
7
7
|
private readonly typeName;
|
|
8
8
|
private readonly newFieldName;
|
|
9
9
|
private readonly pathToField;
|
|
@@ -3,7 +3,7 @@ import { ExecutionRequest, ExecutionResult } from '@graphql-tools/utils';
|
|
|
3
3
|
import { Transform, DelegationContext, SubschemaConfig } from '@graphql-tools/delegate';
|
|
4
4
|
interface HoistFieldTransformationContext extends Record<string, any> {
|
|
5
5
|
}
|
|
6
|
-
export default class HoistField<TContext = Record<string, any>> implements Transform<HoistFieldTransformationContext, TContext> {
|
|
6
|
+
export default class HoistField<TContext extends Record<string, any> = Record<string, any>> implements Transform<HoistFieldTransformationContext, TContext> {
|
|
7
7
|
private readonly typeName;
|
|
8
8
|
private readonly newFieldName;
|
|
9
9
|
private readonly pathToField;
|