@graphql-tools/utils
Advanced tools
Comparing version 10.1.1 to 10.1.2-rc-20240312142830-c2abbf075d87b30ac6a112cb95f442d45a45cb0d
@@ -43,2 +43,5 @@ "use strict"; | ||
if (typeof value === 'object') { | ||
if (value?.toJSON) { | ||
return astFromValueUntyped(value.toJSON()); | ||
} | ||
const fieldNodes = []; | ||
@@ -45,0 +48,0 @@ for (const fieldName in value) { |
@@ -40,2 +40,5 @@ import { Kind } from 'graphql'; | ||
if (typeof value === 'object') { | ||
if (value?.toJSON) { | ||
return astFromValueUntyped(value.toJSON()); | ||
} | ||
const fieldNodes = []; | ||
@@ -42,0 +45,0 @@ for (const fieldName in value) { |
{ | ||
"name": "@graphql-tools/utils", | ||
"version": "10.1.1", | ||
"version": "10.1.2-rc-20240312142830-c2abbf075d87b30ac6a112cb95f442d45a45cb0d", | ||
"description": "Common package containing utils and types for 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
497132
10795
2