ardalis/DDD-NoDuplicates

Service Locator

开放

#11 创建于 2023年8月22日

 (1 条评论) (0 个反应) (0 位负责人)C# (58 个派生)github user discovery
enhancementgood first issuehelp wanted

仓库指标

星标
 (579 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

I know it's supposed to be an "anti-pattern" but it seems easy enough to just use a service locator. That's what we used to do in our domains and I never remember an issue. It doesn't seem like it would matter if you don't know there is a service checking names, it only matters that the names aren't unique and you need to fix that

贡献者指南