@graphql-tools/wrap
Advanced tools
Comparing version 9.4.0 to 9.4.1-rc-20230406060306-3e692136
@@ -31,5 +31,5 @@ "use strict"; | ||
const newRootFieldsMap = { | ||
query: ((_b = (_a = rootTypeMap.get(graphql_1.OperationTypeNode.QUERY)) === null || _a === void 0 ? void 0 : _a.toConfig()) === null || _b === void 0 ? void 0 : _b.fields) || {}, | ||
mutation: ((_d = (_c = rootTypeMap.get(graphql_1.OperationTypeNode.MUTATION)) === null || _c === void 0 ? void 0 : _c.toConfig()) === null || _d === void 0 ? void 0 : _d.fields) || {}, | ||
subscription: ((_f = (_e = rootTypeMap.get(graphql_1.OperationTypeNode.SUBSCRIPTION)) === null || _e === void 0 ? void 0 : _e.toConfig()) === null || _f === void 0 ? void 0 : _f.fields) || {}, | ||
query: ((_b = (_a = rootTypeMap.get('query')) === null || _a === void 0 ? void 0 : _a.toConfig()) === null || _b === void 0 ? void 0 : _b.fields) || {}, | ||
mutation: ((_d = (_c = rootTypeMap.get('mutation')) === null || _c === void 0 ? void 0 : _c.toConfig()) === null || _d === void 0 ? void 0 : _d.fields) || {}, | ||
subscription: ((_f = (_e = rootTypeMap.get('subscription')) === null || _e === void 0 ? void 0 : _e.toConfig()) === null || _f === void 0 ? void 0 : _f.fields) || {}, | ||
}; | ||
@@ -36,0 +36,0 @@ for (const operation in this.from) { |
@@ -1,2 +0,2 @@ | ||
import { GraphQLObjectType, GraphQLSchema, Kind, OperationTypeNode, visit } from 'graphql'; | ||
import { GraphQLObjectType, GraphQLSchema, Kind, visit } from 'graphql'; | ||
import { MapperKind, getRootTypeMap, mapSchema } from '@graphql-tools/utils'; | ||
@@ -28,5 +28,5 @@ const defaultRootTypeNames = { | ||
const newRootFieldsMap = { | ||
query: ((_b = (_a = rootTypeMap.get(OperationTypeNode.QUERY)) === null || _a === void 0 ? void 0 : _a.toConfig()) === null || _b === void 0 ? void 0 : _b.fields) || {}, | ||
mutation: ((_d = (_c = rootTypeMap.get(OperationTypeNode.MUTATION)) === null || _c === void 0 ? void 0 : _c.toConfig()) === null || _d === void 0 ? void 0 : _d.fields) || {}, | ||
subscription: ((_f = (_e = rootTypeMap.get(OperationTypeNode.SUBSCRIPTION)) === null || _e === void 0 ? void 0 : _e.toConfig()) === null || _f === void 0 ? void 0 : _f.fields) || {}, | ||
query: ((_b = (_a = rootTypeMap.get('query')) === null || _a === void 0 ? void 0 : _a.toConfig()) === null || _b === void 0 ? void 0 : _b.fields) || {}, | ||
mutation: ((_d = (_c = rootTypeMap.get('mutation')) === null || _c === void 0 ? void 0 : _c.toConfig()) === null || _d === void 0 ? void 0 : _d.fields) || {}, | ||
subscription: ((_f = (_e = rootTypeMap.get('subscription')) === null || _e === void 0 ? void 0 : _e.toConfig()) === null || _f === void 0 ? void 0 : _f.fields) || {}, | ||
}; | ||
@@ -33,0 +33,0 @@ for (const operation in this.from) { |
{ | ||
"name": "@graphql-tools/wrap", | ||
"version": "9.4.0", | ||
"version": "9.4.1-rc-20230406060306-3e692136", | ||
"description": "A set of utils for faster development of GraphQL tools", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
283588
2