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
{{ message }}
Repository navigation
Warning when annotated methods are self-invocated from within its own class #1193
when calling bar(), foo() will not be executed in a transaction, because AOP only works with calls from outside the class AFAIK. The same applies probably for other annotations like @Cacheable.
I would expect from my IDE to be warned or at least informed about this situation. So in the line 7 I would expect a marker.
Current Behavior
No hints at all. You need to know what is going on.
Context
The situation is simply error-prone for inexperienced devs. A simple info or warning marker could help resolving the risk.
changed the title [-]Warning when annotated methods are called from within its own class[/-][+]Warning when annotated methods are self-invocated from within its own class[/+]on Feb 21, 2024
Activity
[-]Warning when annotated methods are called from within its own class[/-][+]Warning when annotated methods are self-invocated from within its own class[/+]