@aws-amplify/data-schema
Advanced tools
Comparing version 1.6.0 to 1.6.1
@@ -145,2 +145,5 @@ 'use strict'; | ||
return result.map((record) => { | ||
if (record === null || record === undefined) { | ||
return record; | ||
} | ||
const initializedRelationalFields = {}; | ||
@@ -147,0 +150,0 @@ for (const fieldName of modelFields) { |
{ | ||
"name": "@aws-amplify/data-schema", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -207,4 +207,6 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
return result.map((record) => { | ||
if (record === null || record === undefined) { | ||
return record; | ||
} | ||
const initializedRelationalFields: Record<string, any> = {}; | ||
for (const fieldName of modelFields) { | ||
@@ -211,0 +213,0 @@ const modelField = introModelFields[fieldName]; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
2164515
29608