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
IntelliJ has a "smart" feature that introduces a warning in the user code if it detects a method call annotated with CheckReturnValue where the returned object is unused. It's pretty useful when the methods return Uni or Multi.
IntelliJ only checks for the annotation name, regardless of where it comes from. Thus, SmallRye Common Annotation provides such an annotation used in Mutiny, Vert.x Mutiny Bindings and SmallRye Reactive Messaging.
It would be pretty nice to have that annotation in Hibernate Reactive. Thus, IntelliJ users would not let Unis do nothing.
Implementation ideas
Add the dependency
Add the annotation in the generated code
The text was updated successfully, but these errors were encountered:
Description
IntelliJ has a "smart" feature that introduces a warning in the user code if it detects a method call annotated with
CheckReturnValue
where the returned object is unused. It's pretty useful when the methods returnUni
orMulti
.IntelliJ only checks for the annotation name, regardless of where it comes from. Thus, SmallRye Common Annotation provides such an annotation used in Mutiny, Vert.x Mutiny Bindings and SmallRye Reactive Messaging.
It would be pretty nice to have that annotation in Hibernate Reactive. Thus, IntelliJ users would not let Unis do nothing.
Implementation ideas
The text was updated successfully, but these errors were encountered: