Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
poletti-marco opened this issue Apr 8, 2017 · 0 comments
Projects
Milestone

Comments

@poletti-marco
Copy link
Contributor

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.

@poletti-marco poletti-marco modified the milestone: Fruit 2.1.0 Apr 8, 2017
@poletti-marco poletti-marco added this to the 3.1.0 milestone Jul 15, 2017
@poletti-marco poletti-marco added this to Error detection in Fruit 3.x Sep 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Fruit 3.x
Error reporting
Development

No branches or pull requests

1 participant