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
Quarkus allows extensions to add a scope annotation to any class with AutoAddScopeBuildItem, or a custom AnnotationsTransformer. Moreover, an extension can also produce a BeanDefiningAnnotationBuildItem to extend the default set of bean defining annotations. As a result, many components do not define a scope annotation but rely on the default configuration.
We should provide an alternative API for similar functionality so that it's not necessary to modify the original components under test. We could also preconfigure some typical use cases (JAX-RS resources, classes with @Scheduled, etc.).
Implementation ideas
No response
The text was updated successfully, but these errors were encountered:
Description
Quarkus allows extensions to add a scope annotation to any class with
AutoAddScopeBuildItem
, or a customAnnotationsTransformer
. Moreover, an extension can also produce aBeanDefiningAnnotationBuildItem
to extend the default set of bean defining annotations. As a result, many components do not define a scope annotation but rely on the default configuration.We should provide an alternative API for similar functionality so that it's not necessary to modify the original components under test. We could also preconfigure some typical use cases (JAX-RS resources, classes with
@Scheduled
, etc.).Implementation ideas
No response
The text was updated successfully, but these errors were encountered: