ardalis/DDD-NoDuplicates

Service Locator

Open

#11 opened on Aug 22, 2023

View on GitHub
 (1 comment) (0 reactions) (0 assignees)C# (58 forks)github user discovery
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (579 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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

Contributor guide