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
Is is possible maybe to make AnnotationProcessor error messages more specific ?
For example message: ChangeUnit[%s] must have only one %s method
can mention that mongock is looking for public methods - this is not visible without checking into source code.
Protected methods with @Execution annotation are skipped as changeUnitClass.getMethods() is used to retrieve methods (which is returning only public methods).
Maybe it can be changed to something like: ChangeUnit[%s] must have only one public method annotated with %s ?
I think we have the similar situation with other annotations check.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Is is possible maybe to make AnnotationProcessor error messages more specific ?
For example message:
ChangeUnit[%s] must have only one %s method
can mention that mongock is looking for public methods - this is not visible without checking into source code.
Protected methods with
@Execution
annotation are skipped aschangeUnitClass.getMethods()
is used to retrieve methods (which is returning only public methods).Maybe it can be changed to something like:
ChangeUnit[%s] must have only one public method annotated with %s
?I think we have the similar situation with other annotations check.
Beta Was this translation helpful? Give feedback.
All reactions