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
Ensure that classes declaring @ServerRequestFilter can contain non-static fields #28079
Conversation
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, this was only failing in native and that's why you didn't add any tests, right?
...a/org/jboss/resteasy/reactive/server/processor/generation/filters/CustomFilterGenerator.java
Outdated
Show resolved
Hide resolved
Good point, I'll add one |
PR updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm now, thanks!
Thanks very much @geoand for looking at this enhancement |
🙏🏼 |
This comment has been minimized.
This comment has been minimized.
…atic fields This is done by making the generated classes @ApplicationScoped, thus ensuring that their instantiation is done lazily instead of eagerly. Resolves: quarkusio#27752
Same goes for
@ServerResponseFilter
.This is done by making the generated classes
@ApplicationScoped
, thus ensuringthat their instantiation is done lazily instead of eagerly.
Resolves: #27752