Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce annotation for changing bean discovery mode in synthetic archive #159

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

manovotn
Copy link
Collaborator

Fixes #158
Related JIRA - https://issues.redhat.com/browse/WELD-2766

We could also choose to drop the value on the annotation (always setting all as none is an error anyway). However, that would then make a mess of it in case there is a hierarchy of test classes with multiple declarations of this annotation.
Another option would be to add this as a param to an existing annotation such as @EnableAutoWeld but that one is optional in that you can use @ExtendWith(WeldJunit5AutoExtension.class) instead.

@manovotn manovotn merged commit 22a0231 into weld:master Nov 1, 2023
2 checks passed
@manovotn manovotn deleted the issue158 branch November 1, 2023 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WeldJunit5AutoExtension cannot change synthetic archive discovery mode
2 participants