Consider making component type declarations optional
Closed this issue · 2 comments
philippjfr commented
Each of the core extensible types (View
, Source
, Filter
, Transform
) works by explicitly declaring a view_type
, source_type
etc. In theory at least this could be optional and we could allow matching simply on the class name by default. Whether or not we decide to allow this, we need to have definition time constraints on having unique view names OR we could instead allow fully qualified imports for the type field, e.g. type: lumen_extension.views.CustomView
.
philippjfr commented
Fully qualified imports are now supported and the type declaration is optional.
github-actions commented
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.