David Shunfenthal
06/16/2022, 7:45 PMlibs/dynamodb-lib.js
file) essentially acting as a DAO. Is this more convenient this way rather than having a standard JS class containing the same methods and a constructor for client
? I’m used to seeing domain-driven interfaces for DAO’s and it feels weird to write an interface for a convenience object like this that I can use in my domain logic, but I definitely want to understand the benefits. Thanks!