What a call site may pass. Either the entity references are already
resolved, or an entityId is supplied and the publisher resolves it.
The second arm is what the separate entity-scoped publisher used to be.
Collapsing it in means one publisher and one call shape for all ~200 sites;
the database lookup it needed arrives as an injected
EntityReferenceResolver (@cfxlabsinc/event-services), so neither
package keeps a database dependency.
What a call site may pass. Either the entity references are already resolved, or an
entityIdis supplied and the publisher resolves it.The second arm is what the separate entity-scoped publisher used to be. Collapsing it in means one publisher and one call shape for all ~200 sites; the database lookup it needed arrives as an injected
EntityReferenceResolver(@cfxlabsinc/event-services), so neither package keeps a database dependency.