apollo-codegen-core
Advanced tools
Comparing version 0.23.0 to 0.24.0-alpha.478e2f66
@@ -127,3 +127,3 @@ "use strict"; | ||
} | ||
if (!(fieldDef.astNode && fieldDef.astNode.__client) && (isClient || fieldIsClient)) { | ||
if (!(fieldDef.astNode && fieldDef.astNode.__client) && fieldIsClient) { | ||
throw new graphql_1.GraphQLError(`Cannot query server-side field "${name}" on type "${String(parentType)}" with @client directive`, [ | ||
@@ -130,0 +130,0 @@ selectionNode |
{ | ||
"name": "apollo-codegen-core", | ||
"description": "Core generator APIs for Apollo Codegen", | ||
"version": "0.23.0", | ||
"version": "0.24.0-alpha.478e2f66", | ||
"main": "./lib/index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
@@ -306,3 +306,3 @@ import { | ||
if (!(fieldDef.astNode && (fieldDef.astNode as any).__client) && (isClient || fieldIsClient)) { | ||
if (!(fieldDef.astNode && (fieldDef.astNode as any).__client) && fieldIsClient) { | ||
throw new GraphQLError(`Cannot query server-side field "${name}" on type "${String(parentType)}" with @client directive`, [ | ||
@@ -309,0 +309,0 @@ selectionNode |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
315926
250790