Skip to content

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.

Use the aggregate’s own state, or read the other entity explicitly. If the plain read is only context, mark it [Unprotected("why")].

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.