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
Setting a custom timestamp with storage set to iso and value to string causes an issue when creating a new Dynamo document.
Error seems to occur on the PutItem request when creating a new item in table 2. I am also interacting with table 1 here, but that has a simple timestamps: true in it's schema so it doesnt have to do with that as far as i can tell
Hopefully I have given enough info here, please let me know if not.
Summary:
Setting a custom timestamp with storage set to iso and value to string causes an issue when creating a new Dynamo document.
Error seems to occur on the PutItem request when creating a new item in table 2. I am also interacting with table 1 here, but that has a simple
timestamps: true
in it's schema so it doesnt have to do with that as far as i can tellHopefully I have given enough info here, please let me know if not.
Code sample:
Schema
General
Current output and behavior (including stack trace):
calling create through the dynamoose model
Expected output and behavior:
It should just return me the Document and not expect it to be a Date since i have set the value to String. I have set the value to Date and no change.
Environment:
Operating System: MacOS
Operating System Version: 12.6.9 (Monterey)
Node.js version (
node -v
): 16.9.1NPM version: (
npm -v
): 7.21.1Dynamoose version: 3.2.1
Other:
The text was updated successfully, but these errors were encountered: