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 your feature request related to a problem? Please describe.
It's very easy to forget about updating META-INF/services for ServiceLoader every time HandlerFactory or ActionFactory is created/deleted.
Describe the solution you'd like
An annotation could be used to automaticaly detect factories. One existing solution is Google's AutoService. Using it with Knot.x would look like this:
Is your feature request related to a problem? Please describe.
It's very easy to forget about updating
META-INF/services
for ServiceLoader every time HandlerFactory or ActionFactory is created/deleted.Describe the solution you'd like
An annotation could be used to automaticaly detect factories. One existing solution is Google's AutoService. Using it with Knot.x would look like this:
No need to manually update the
META-INF
. Same for action factories.Describe alternatives you've considered
Custom Knot.x annotations could be developed, but it would require a lot more work to do.
The text was updated successfully, but these errors were encountered: