Merge pull request #4 from jeffijoe/feature/idempotent-append
Idempotent appends + In-memory Stream Store
feat: add in-memory store implementation
The in-memory stream store passes all the same tests as the Postgres one,
and is going to be useful for tests.
fix: make pgss idempotent at the initial version
refactor: rename ConcurrencyError to WrongExpectedVersionError
chore: extracted Stream Store acceptance tests
This will allow us to use the same test suite for new implementations.
feat: make append idempotent
This required a big internal change to the schema.
Since Snicket isn’t 1.0 yet, I don’t feel too bad about that.
Shoutout to @thefringeninja for the original
SqlStreamStore Postgres schemas, they’ve been a great help.
fix(uuid): allow any UUID version