Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

apollo-codegen-core

Package Overview
Dependencies
Maintainers
1
Versions
168
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-codegen-core - npm Package Compare versions

Comparing version 0.23.0 to 0.24.0-alpha.478e2f66

2

lib/compiler/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc