Skip to content

Release v22.134.0

Choose a tag to compare

@github-actions github-actions released this 20 Oct 09:01
e224376

Added

  • Read protection can require generated key metadata for commands. Set ReadProtection:RequireGeneratedMetadata to true to fail with CommandReadModelKeysMissing instead of reading a command's key properties through reflection; NativeAOT applications always use this mode, and startup reports protected commands that have no generated metadata. (part of #3321)

Changed

  • Read protection now takes command key properties and read-model key types from the metadata Arc's source generator emits, falling back to reflection only for types without generated metadata and logging a warning once per type when it does. Key selection, [LookUpBy], and the invalid and ambiguous lookup errors behave as before. (part of #3321)