You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a NullAway user using Apollo Kotlin from Java, I want @Generated annotation added to the code generated by apollo-compiler. So that enables the NullAway option, which omits null checking of the generated Java code.
I didn't know about @Generated and it sounds reasonable to apply it, but I'm concerned that javax.annotation.Generated requires a specific dependency, whereas javax.annotation.processing.Generated is in the JDK starting from version 9 while Apollo Kotlin has a minimal version of 8.
Could you maybe use ErrorProne's -XepExcludedPaths flag instead?
Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo Kotlin usage and allow us to serve you better.
Use case
As a NullAway user using Apollo Kotlin from Java, I want
@Generated
annotation added to the code generated byapollo-compiler
. So that enables the NullAway option, which omits null checking of the generated Java code.@Generated
-XepDisableWarningsInGeneratedCode
: Disables warnings in classes annotated with@Generated
Describe the solution you'd like
We can add
@Generated
to class around JavaCodegen.ktThe text was updated successfully, but these errors were encountered: