Register the transport for an entity type. Called once per type at
app boot, typically from src/shared/db/entity-transports.ts in the
consuming application.
Re-registering REPLACES the prior transport — useful for tests, a
footgun for production code. If you find yourself re-registering at
runtime, you almost certainly want a different design.
Register the transport for an entity type. Called once per type at app boot, typically from
src/shared/db/entity-transports.tsin the consuming application.Re-registering REPLACES the prior transport — useful for tests, a footgun for production code. If you find yourself re-registering at runtime, you almost certainly want a different design.