Skip to content

Consider banning primitive types from wiring candidates #198

Description

@adamw

Sometimes if you forget to add a dependency to autowire's parameters which needs manual creation you get errors such as a missing String dependency (if a String is needed to create said instance).

Maybe we should short-circuit even earlier, that is report an error any time someone tries to create an instance parametrised by any type from scala.*. Maybe the blacklist should also include java.lang.*, java.util.* and the like. What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions