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

Muzzle can allow declaring code blocks as requiring certain classes #2556

Closed
anuraaga opened this issue Mar 11, 2021 · 0 comments · Fixed by #7289
Closed

Muzzle can allow declaring code blocks as requiring certain classes #2556

anuraaga opened this issue Mar 11, 2021 · 0 comments · Fixed by #7289
Labels
enhancement New feature or request

Comments

@anuraaga
Copy link
Contributor

The topic has come up a bit in AWS SDK instrumentation, but it would be nice if Muzzle could have a feature very similar to spring boot, something like marking a method as ConditionalOnClass(blah). The instrumentation still applies even if the class, or any references within the annotated method tree, isn't there.

@anuraaga anuraaga added the enhancement New feature or request label Mar 11, 2021
@mateuszrzeszutek mateuszrzeszutek linked a pull request Dec 1, 2022 that will close this issue
trask added a commit that referenced this issue Dec 12, 2022
Resolves
#2556

#7265
made me wonder whether it would help when we could sometimes skip muzzle
checks.

Co-authored-by: Trask Stalnaker <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant