Repository navigation
Release v24.8.0
Generated proxies now say which part they are, a client can ask whether a part is available for the data it is about, and the availability manifest has one documented format with shared test vectors.
Added
- Every generated command and query proxy (including model-bound read model queries) declares
static part: the full name of the part and its module, feature and slice. The gate stays on the server. Generate the proxies again after updating. (#3982) /.cratis/availabilityacceptspartandarguments, so a gate that readsarguments.vesselIdanswers for one vessel with the same gate that decides an execution.IUnavailableParts.Get(PartQuestion)does the same from code.@cratis/archasaskAvailability(part, args),PartAvailabilityandisSuspended;CommandResulthasisSuspendedandonSuspended.Suspendedis told apart fromNotAvailable.@cratis/arc.reacthasuseIsAvailable(part, args?), andRequireAvailabletakesargsand asuspendedslot.- The availability manifest file: one JSON format and schema in
Specifications/availability, written by the engine (ManifestFileBuilder) and by the proxy generator at build (CratisAvailabilityManifest), and read and decided byManifestFileEvaluator. - Shared data-driven test vectors in
Specifications/availability/vectorsthat any Arc engine can run; the .NET engine runs them in its specifications.