Skip to content

When reporting a "binding not found" error, mention if there are related bindings #46

@poletti-marco

Description

@poletti-marco

For example:

  • Bindings with a different annotation (including "no annotation" vs "some annotation" mismatches)
  • Factory bindings vs normal bindings

This logic should be aware of the auto-injection for factories too, for example if there is a bind<X, XImpl> and a fruit::Annotated<Annotation1, std::factory<std::unique_ptr<X>()>> is missing, it's likely that the user forgot the annotation in the binding and we should point this out to help fix the issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions