@aphro/model-runtime-ts
v0.2.6
Published
Runtime library for models generated from schemas.
Downloads
33
Readme
Model
Runtime library for models generated from schemas.
TODO:
- Validation step...
- To ensure foreign key edges have an appropriate inverse field edge
- on the other schema.
- To ensure foreign key edges have an appropriate inverse field edge
- Enable model superclasses / traits
- IDL
- Stop using keys from edges / fields
- Docs
- Edge queries and edge data
- Semantic types
Are the synthetic transactions not good enough / not doing it?
What does a non synth tx look like? Slide, Deck, etc. mutation methods return changesets? Changesets are accumulated and then executed by the caller?
Does the model never execute its own changesets? But it is on the client code to decide how many changesets to accumulate before executing them?
What if a model needs some transient state (changesets to be committed) before it can do more?
If it is up to clients to commit changesets then they are better able to integrate more disperate systems that they may want to mutate atomically.
But if a client becomes a client? What happens to the changesets it was executing? Does it now have to pass them back instead?