-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Experimental error message feedback #1769
Comments
We're testing the new error messages.
While correct the wording is very confusing. It says: |
Thanks for the feedback. I had noticed that before but forgot to submit that change. Funnily enough that wording is actually in the existing error messages, but I think it gets lost in the noise. I will likely change that wording to "requested at" or "injected at" which hopefully will make more sense. |
I was aware that the confusing wording already exists. But I thought now is a good time to report it since it's more prominent. Both "requested at" and "injected at" make sense. I'd prefer the latter, because usually you "@Inject" something. For components providing dependencies "requested at" would make more sense, but that's not the norm. |
Excuse my ignorance, where do we put |
@tomislavhofman it depends on your build system. For Gradle I used this
|
in android -> defaultConfig section or
in android section |
…instead of "provided at" or "produced at". This should better indicate that it is a request for the type. Issue #1769 RELNOTES=Minor fixes to error messages ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=304057073
…instead of "provided at" or "produced at". This should better indicate that it is a request for the type. Issue #1769 RELNOTES=Minor fixes to error messages ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=304057073
This is a tracking issue for feedback on the experimental error messages.
When using this option, the format and some content of error messages will be changed in order to improve readability. Pending feedback, this format will eventually become the default and replace current error messages.
To opt-in to the new format use
-Adagger.experimentalDaggerErrorMessages=enabled
after version 2.27.Currently, this flag:
The text was updated successfully, but these errors were encountered: