google / google/auto

Report which missing types caused a "not all of its dependencies could be resolved" error

Open
#695 0 comments 0 reactions 0 assignees View on GitHub
Component: common P3 Status: accepted type=enhancement
Dominant language
Java
Stars
10.6k
Forks
1.2k
Avg merge
6h 32m
Merged PRs (30d)
13

Description

When an element cannot be processed because it depends on some other element that should be generated by a different annotation processor, and that dependency isn't resolved by the last round of processing, `BasicAnnotationProcessor` reports: " was unable to process because not all of its dependencies could be resolved. Check for compilation errors or a circular dependency with generated code."

It would be nice to report, when possible, exactly which types couldn't be resolved.

This is related to https://github.com/google/dagger/issues/1381.

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.