ARCCHR0033: Aggregate and read-model parameter share a source
Warning, under On. An automatically injected aggregate and protected plain read-model parameter resolve to the same command key. Runtime refuses this combination; a model on a different key is allowed.
Resolve the diagnostic
Section titled “Resolve the diagnostic”Use the aggregate’s own state, or read the other entity explicitly.
If the plain read is only context, mark it [Unprotected("why")].
Boundaries
Section titled “Boundaries”Only statically matching automatic keys are reported. Advisory reads, custom source providers, and Handle dependencies potentially supplied by Provide are excluded. Runtime checks remain authoritative for actual keys. No code fix is offered.