Repository navigation
JasperFx 2.67.1
Fix release.
-
#807 — a partial
EventModelDescriptorcould not round-trip. System.Text.Json leaves any constructor parameter the JSON does not carry at itsdefault, so anEventModelSliceDescriptorsent withoutemittedEvents/projectionTypes/readModelTypesarrived with those three null despite being declared non-nullable, andbuildGraph()threwArgumentNullExceptionon the way back out, through the computedElementsgetter.Partial descriptors are the intended shape —
Mergefolds several sources' slices together by name, and a source (Wolverine's host-sideevent-modelexport, or a Bobcat spec assembly) is by definition partial. These members are now normalized at construction the way theinit-only collections already default. The same trap was fixed onEventModelDescriptor.Slices,AggregateDescriptor.AppliedEvents,SpecificationDescriptor.ResolvedTypesandHandlerRelationshipDescriptor.EmittedEvents.Source- and binary-compatible: the wire shape, the positional constructors and record equality are unchanged.
Full changelog: V2.67.0...V2.67.1