You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current output and behavior (including stack trace):
/home/devops.toronto/src/github.com/compassdigital/cdl/api/platform2/announcement/node_modules/dynamoose/dist/Item.js:63
const keys = Object.keys(object);
^
TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at Item.isDynamoObject (/home/devops.toronto/src/github.com/compassdigital/cdl/api/platform2/announcement/node_modules/dynamoose/dist/Item.js:63:29)
at isValid (/home/devops.toronto/src/github.com/compassdigital/cdl/api/platform2/announcement/node_modules/dynamoose/dist/Item.js:58:238)
at /home/devops.toronto/src/github.com/compassdigital/cdl/api/platform2/announcement/node_modules/dynamoose/dist/Item.js:69:74
at Array.every (<anonymous>)
at Item.isDynamoObject (/home/devops.toronto/src/github.com/compassdigital/cdl/api/platform2/announcement/node_modules/dynamoose/dist/Item.js:69:57)
at new Item (/home/devops.toronto/src/github.com/compassdigital/cdl/api/platform2/announcement/node_modules/dynamoose/dist/Item.js:25:33)
at new Test (/home/devops.toronto/src/github.com/compassdigital/cdl/api/platform2/announcement/node_modules/dynamoose/dist/Model/index.js:211:17)
at main (/home/devops.toronto/src/github.com/compassdigital/cdl/api/platform2/announcement/lib/migrate.js:35:18)
at Object.<anonymous> (/home/devops.toronto/src/github.com/compassdigital/cdl/api/platform2/announcement/lib/migrate.js:42:1)
Summary:
null
values insideObjects
withsaveUnknown=true
are either omitted or throw an error.Example 1: Omitted Value
Current output and behavior (including stack trace):
Expected output and behavior:
Example 2: Throws Error
Current output and behavior (including stack trace):
Expected output and behavior:
Environment:
Operating System: Ubuntu
Operating System Version: 20.04
Node.js version (
node -v
): v20.11.0NPM version: (
npm -v
): 10.2.4Dynamoose version: 4.0.1
Other information (if applicable):
Other:
The text was updated successfully, but these errors were encountered: