DynamoDB-Toolbox v1 is OUT #813
Replies: 1 comment 2 replies
-
Hi Thomas, I've a solution built on top of dynamodb-toolbox (0.7), and I tried to upgrade to version 1 a couple of times without success. Using the migration guide was definitely helpful, but I'm still struggling to make it work. I've one question, one tip, and one suggestion: π’ 1 - Question: I'm trying to do something like query( I'm not able to find with to adapt the code to use the beginsWith constraint. Should it be something like this? build(QueryCommand) π’ 2 - Tip: While trying to define the schemas, the use of list(string()) was failing because of null handling. It was really tricky, but I finally make it work with the following condition on my tsconfig.json file. "strictNullChecks": true If it's really mandatory, could be helpful to indicate it on the installation step of the docs. π’ 3 - Suggestion: Is there any boilerplate with example code? I found a few repositories out there, but they are mainly using versions prior to v1. Having a functional version will definitely help A LOT. Is there anything like this planned? I can even help making one, but as far as I'm not able to make it run it makes it hard. Thanks you! |
Beta Was this translation helpful? Give feedback.
-
The new v1 of DynamoDB-Toolbox is out π₯³ π π
Head to the official documentation to discover awesome new features:
β¨ A rich schema syntax that supports a broad range of edge cases like defaults, composition, transformation and polymorphism.
π Type-safety pushed to the limit: Increase your development velocity with instantaneous feedbacks and slick auto-completion.
π΄ Tree-shakable: Only import what you need.
If you're using the v0, check the migration guide!
Beta Was this translation helpful? Give feedback.
All reactions