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
The Attr sub-annotation in Plugin annotations is messy and was intended to be a last ditch effort.
In the primary use cases of Attr in SCIFIO, Filters and Translators, we really don't need the information BEFORE an instance of the corresponding class is made.
So we should refactor Filters and Translators to use API instead of static fields and Attrs, which is also then extensible.
The Attr sub-annotation in Plugin annotations is messy and was intended to be a last ditch effort.
In the primary use cases of Attr in SCIFIO, Filters and Translators, we really don't need the information BEFORE an instance of the corresponding class is made.
So we should refactor Filters and Translators to use API instead of static fields and Attrs, which is also then extensible.
This should be done in tandem with #20.
Also, Translators could then be SingletonServices and SingletonPlugins.
This change should also allow us to fully remove Annotation usage from tests (e.g., FilterTest).
The text was updated successfully, but these errors were encountered: