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

@ExplicitParameterInjection is now by default inherited for nested classes #166

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

manovotn
Copy link
Collaborator

@manovotn manovotn commented Jan 19, 2024

Fixes #164

@ExplicitParameterInjection now has a configurable boolean value indicating whether Weld should apply this behavior.
Nested classes are automatically inspecting their enclosing classes for this annotation and it's value unless they declare it themselves.

@manovotn
Copy link
Collaborator Author

Edited README, fixed copy-paste errors and tests and added a test for method-level declaration of this annotation which can now technically say @ExplicitParameterInjection(false) even though I cannot imagine why you'd do that.

@manovotn manovotn merged commit 3b6bc06 into weld:master Jan 19, 2024
2 checks passed
@manovotn manovotn deleted the issue164 branch January 19, 2024 09:42
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.

@ExplicitParamInjection change in behavior
2 participants