@grapes-agency/apollo-link-local-schema
Advanced tools
Comparing version 1.0.0-alpha.7 to 1.0.0-alpha.8
@@ -5,2 +5,9 @@ # Changelog | ||
## [1.0.0-alpha.8](https://github.com/grapes-agency/apollo-link-local-schema/compare/v1.0.0-alpha.7...v1.0.0-alpha.8) (2020-10-09) | ||
### Bug Fixes | ||
* correctly set __typename on array types ([aab3724](https://github.com/grapes-agency/apollo-link-local-schema/commit/aab3724cec22241ce4ccbbbe09ce2af60757b0b6)) | ||
## [1.0.0-alpha.7](https://github.com/grapes-agency/apollo-link-local-schema/compare/v1.0.0-alpha.6...v1.0.0-alpha.7) (2020-10-08) | ||
@@ -7,0 +14,0 @@ |
@@ -223,2 +223,5 @@ 'use strict'; | ||
} | ||
if (Array.isArray(data)) { | ||
return data.map(d => addTypesnames({ field, fragmentMap, objectType, typeMap, data: d })); | ||
} | ||
const processedData = Object.assign({}, data); | ||
@@ -225,0 +228,0 @@ const selections = extendSelection(field, fragmentMap); |
{ | ||
"name": "@grapes-agency/apollo-link-local-schema", | ||
"version": "1.0.0-alpha.7", | ||
"version": "1.0.0-alpha.8", | ||
"description": "Lightweight local schema resolver for @apollo/client", | ||
@@ -5,0 +5,0 @@ "main": "index.cjs.js", |
@@ -11,2 +11,5 @@ import { getTypeName, isDeepListType } from './node.js'; | ||
} | ||
if (Array.isArray(data)) { | ||
return data.map(d => addTypesnames({ field, fragmentMap, objectType, typeMap, data: d })); | ||
} | ||
const processedData = Object.assign({}, data); | ||
@@ -13,0 +16,0 @@ const selections = extendSelection(field, fragmentMap); |
Sorry, the diff of this file is not supported yet
152948
1748