Repository navigation
Release v1.3.0
Arc for Elixir declares, decides and exposes availability with the same model and manifest as Arc for .NET.
Added
- Availability: audiences, blocks (
for,when,with,not) and gates on module, feature, slice, command and query, declared withavailableand anArc.Availability.Definition; the engine passes the shared manifest and conformance cases of Cratis/Arc (#36) - One gate that runs first in the pipeline, before binding,
Arc.Filterand authorization:NotAvailableandSuspendedanswer403, a decision that cannot be made answers a retryable503(isRetryable) - Audience sources (granted, withdrawn), suspension sources (suspended, resumed),
Arc.Availability.Memory, and the observable/.cratis/availabilitythat re-emits on change, across nodes withPhoenix.PubSub - The availability manifest (
cratis-availability-manifestversion 1) can be written and read withArc.Availability.Manifest - Generated proxies carry
static readonly part(PartIdentity), and read model proxies are generated for nested lists, enums ({:enum, [...]}) and derived types ({:one_of, [...]}) Arc.LiveView.Availability.available/1andArc.LiveView.available?/3hide the parts a caller cannot use
Changed
- The TypeScript contract gate and the samples use
@cratis/arc24.8.1, which hasPartIdentity; the showcase proxies are regenerated Arc.QueryResultcarriesauthorizationFailureReasonandisRetryablewhen they are set