dynamo-easy
dynamo-easy copied to clipboard
It would be great to have TypeORM like model listeners
Please see https://typeorm.io/#/listeners-and-subscribers for the reference.
Thanks for the suggestion, sounds like an interesting feature to me. But this is out of scope for us right now. Keeping it open to see if more people are interested.
I'm migrating away from TypeORM and am evaluating dynamo-easy. Seems like it hits the sweet spot with retaining compatibility with Type-GraphQL
and Type-DI
... I was wondering about subscribers as well, but I'm not sure if this is super-necessary given AWS Lambda's capacity for event triggers.
Hi @NoelBaron. Thanks for looking into dynamo-easy. Would be nice to get more details about the use-case if you run into the situation where you really need a feature like this.
We started writing our own orm abstraction for dynamodb, but this seems more complete and I wish I had discovered it earlier.
Having hooks to listen for certain events would be great to generify logic. And I'm sure at some point that will be a very welcome feature.
However ....
[...] but I'm not sure if this is super-necessary given AWS Lambda's capacity for event triggers.
... I also do agree with this statement. But not having implemented dynamodb stream lambda hooks yet, I'm not sure if there are any pain-points. The devil is usually in the detail.