You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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)