google / google/auto

Support guices @BindingAnnotation? or flag as an error?

Open
#214 2 comments 2 reactions 0 assignees View on GitHub
Component: factory P3 type=addition
Dominant language
Java
Stars
10.6k
Forks
1.2k
Avg merge
6h 32m
Merged PRs (30d)
13

Description

Part of using @AutoFactory in a guice project is migrating all the binding annotations use the @Qualifier annotation instead of (or in addition to) @BindingAnnotation. It would be nice if @AutoFactory flagged this as an error (or if it just worked).

The current state is that it ignores @BindingAnnotation meaning that it may generate a factory that uses different bindings than the user intended.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.