Closed rtbenfield closed 11 months ago
@evanderkoogh I've started writing some local tests with Vitest to verify fixes like this one. Is that something you'd like to incorporate into the repository? I could submit a PR that adds Vitest, a GitHub Actions check, and a few initial tests.
@evanderkoogh I've started writing some local tests with Vitest to verify fixes like this one. Is that something you'd like to incorporate into the repository? I could submit a PR that adds Vitest, a GitHub Actions check, and a few initial tests.
I wouldn't like it, I would love it!
Been on my to-do list for a while, but haven't had the time to set it all up properly trying to get some of the auto-instrumenting done :)
When calling
storage.list()
with no arguments, the instrumentedDurableObjectStorage
instance throws an error due toattrs
being undefined. This PR modifies the attribute creation to create the object first, then merges incoming attributes if applicable.closes #33