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
I'm trying to upgrade from 0.7 to 0.8 (to eventually get to 1.0 when it's released) and I'm hitting some issues with bigints and addition. Specifically, the following type of query is very common in our codebase but seems to be unsupported:
(note that you need to configure the DynamoDBDocumentClient with wrapNumbers: true to get bigint support)
Notably, the test does pass if you pass test_bigint: BigInt(100), but the constructed query seems to be storing the value as a string, whereas under 0.7 it is stored as a Number type.
I'd be interested to help out with fixing this, but I'm not really sure where to start, since it seems like some things have changed with these internals since BigInt support was first added.
The text was updated successfully, but these errors were encountered:
I'm trying to upgrade from 0.7 to 0.8 (to eventually get to 1.0 when it's released) and I'm hitting some issues with bigints and addition. Specifically, the following type of query is very common in our codebase but seems to be unsupported:
Once you've setup a local dynamo, the above test case fails with:
The DynamoDB update it's issuing looks like this:
(note that you need to configure the
DynamoDBDocumentClient
withwrapNumbers: true
to get bigint support)Notably, the test does pass if you pass
test_bigint: BigInt(100)
, but the constructed query seems to be storing the value as a string, whereas under 0.7 it is stored as a Number type.I'd be interested to help out with fixing this, but I'm not really sure where to start, since it seems like some things have changed with these internals since BigInt support was first added.
The text was updated successfully, but these errors were encountered: