• cadekat
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    I’m using value in the loosest sense, like how all objects are values.

    So now if you have three implementations of IProductService, how do you know which one is configured?

    • Zagorath@aussie.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 months ago

      It’s easy to imagine a hypothetical way that could lead to problems. But in all the code I’ve worked with, either that scenario is avoided entirely, or other context makes it absolutely clear which IProductService is being used.