@vlcn.io/model-persisted


Install
npm install @vlcn.io/model-persisted@0.1.0

Documentation

A collection of projects to simplify aphrodite.sh and move the state of programming forward.

Hephaestus is too hard to say and spell hence the name Vulcan.

aphrodite.sh apis are cumbersome in a few areas. The main culprits:

  • a reliance on the concept of "changesets" (fixed here via transactional memory)
  • requiring a "context" parameter to be passed to all function calls (potentially fixed via context-provider or more likely just a config object)
  • encouraging "named" mutations (removed from next build of aphrodite).

Other culprits are:

  • the query APIs being 100% async even for in-memory data stores
  • asking the developer to remember to await their writes if they want to do an immediate read-after-write
  • ddl? maybe? This is probably a necessary complexity and unlocks future simplicity

The current most interesting part of vulcan is transactional memory.

This repo will be merged into vlcn-io/vlcn-orm at a future date.