SafeDI
SafeDI copied to clipboard
Provide a better error when type names are not equally-qualified in instantiated and received declarations
Goals
Make it less painful to debug when you refer to a type in an Instantiator by two different names.
Design Give a more actionable error when we have a type that doesn't match anything, but there's an existing type that is the same name prefixed by another type. For example:
@Instantiated private let someThing: Instantiated<View>
@Received private let someThing: Instantiated<MyViewController.View>