graphql-operation-to-pojo
Advanced tools
Comparing version 1.0.9 to 1.0.10
@@ -166,3 +166,3 @@ "use strict"; | ||
if (field.name === '__typename') { | ||
return; | ||
return _graphql.GraphQLString; | ||
} // Get the concrete type for fragment fields. | ||
@@ -169,0 +169,0 @@ // This is needed because for fragment fields, the original parentSchemaDef might be a union or interface type. |
{ | ||
"name": "graphql-operation-to-pojo", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "Converts GraphQL operations to plain old JS objects (POJOs), ready to to be serialized to JSON", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
import './polyfills' | ||
import { valueFromASTUntyped, getNamedType } from 'graphql' | ||
import { valueFromASTUntyped, getNamedType, GraphQLString } from 'graphql' | ||
import type { | ||
@@ -222,3 +222,3 @@ GraphQLResolveInfo, | ||
if (field.name === '__typename') { | ||
return | ||
return GraphQLString | ||
} | ||
@@ -225,0 +225,0 @@ // Get the concrete type for fragment fields. |
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
44876