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
Currently the @Container annotation in org.testcontainers.junit.jupiter has @Target(ElementType.FIELD) which prevents it being used as a meta-annotation. If ANNOTATION_TYPE were also added it could be possible to create composable annotations.
The TestcontainersExtension class uses AnnotationSupport.isAnnotated(field, Container.class) which already checks for meta-presence of annotations.
The text was updated successfully, but these errors were encountered:
Module
Core
Proposal
Currently the
@Container
annotation inorg.testcontainers.junit.jupiter
has@Target(ElementType.FIELD)
which prevents it being used as a meta-annotation. IfANNOTATION_TYPE
were also added it could be possible to create composable annotations.The
TestcontainersExtension
class usesAnnotationSupport.isAnnotated(field, Container.class)
which already checks for meta-presence of annotations.The text was updated successfully, but these errors were encountered: