Giter VIP home page Giter VIP logo

Comments (2)

matrus2 avatar matrus2 commented on May 27, 2024

Hi @makotok,

Thanks for rising this one. After all I thing the issue is not with this library, but with the AWS.DynamoDB.Converter.unmarshall function itself. Most probably it should be submitted there, unless you see different option.

Thx

from dynamodb-stream-elasticsearch.

makotok avatar makotok commented on May 27, 2024

@matrus2
Thank you for your reply.

Library users can pass options to the AWS.DynamoDB.Converter.unmarshall function.

https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB/Converter.html#unmarshall-property

  • wrapNumbers ... Whether to return numbers as a NumberValue object instead of converting them to native JavaScript numbers. This allows for the safe round-trip transport of numbers of arbitrary size.

Ideally, I think it's better to use this option.
Next, in the case of NumberValue, it would be nice to be able to choose whether to convert to a String. (Alternatively, library users should be able to handle this with the transformFunction function)

However, I have to take the option of not using Lambda, so for now you don't have to fix this issue.

from dynamodb-stream-elasticsearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.