Remote / An event-sourced domain behind Remote

Limits

  • A beta, pinned. The adapter relies on behaviour of @alchemy.run/domain@2.0.0-beta.86 that its own test/domain/behaviour.test.ts records, and breaks when a release changes it.
  • Tested in memory and over local HTTP. Nothing here is deployed; Domain's Durable Object hosts and WebSocket protocol are not exercised.
  • Not exercised: evolving an Event's schema, and models with Policies or Sagas. The adapter reads Views and sends Commands and has no part in either, but no test here runs one.
  • Lists are a paged Domain Query's, read forward; relations are one relations held as ids. The README's "Lists and one relations" has the detail.
  • It is not a second layer over a Remote server. A page reaches one authority or the other. And it does not use @alchemy.run/domain/Foldkit, which folds Domain state into Model fields of the application's own: beside Remote.Model that would be two owners of one row.

Where to go next