JD
JD
Seeing as CFn is either JSON or YAML it shouldn't be too hard to parse this in your code and load the table dynamically, if you really think it's worth...
Nice 😀 Have you tried this with the library, @famouspotatoes? What is your result for this? It may "just work"...
Ah yes - I see. You have to have the method return `T`. At the moment it returns: ``` // Return the entity return Object.assign({ name, schema: parseEntityAttributes(attributes,track), // removed...
I narrowed this down to only happening when I've updated an existing entity. Specifically I am `$add`ing to a number in the item. Subsequent queries fail with the error. I'm...
Only when I run it offline. Running in lambda does not reproduce. I haven't observed this for a while.
Happy to close it for now and if it happens again I'll reopen.
@brettstack - I agree with @jeremydaly. You can always extend the library yourself in your code to add this helper util if you like. It's not hard to define this...
If the idea is to be able to dive in and out of the AWS SDK and not to be an ORM then I think this detracts from that goal....
> Just a question. Wouldn't it be better to mock `DocumentClient`? It doesn't seem like Toolbox needs to know anything about the DB itself. Just that Toolbox makes the correct...
What is the default behaviour or default? Should it only populate on first go? Or should default be calculated each time?