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

Fix build issue when client and server RESTEasy Reactive jackson deps are used together #16368

Merged
merged 1 commit into from
Apr 8, 2021

Conversation

geoand
Copy link
Contributor

@geoand geoand commented Apr 8, 2021

The issue was originally reported here.

@geoand
Copy link
Contributor Author

geoand commented Apr 8, 2021

@famod is there a way we have can have an enforcer rule that enforces that all classes that extend MultiBuildItem, SimpleBuildItem and EmptyBuildItem are final?

@famod
Copy link
Member

famod commented Apr 8, 2021

ArchUnit would be way more suitable for such things.

@geoand
Copy link
Contributor Author

geoand commented Apr 8, 2021

But I don't see I way that such rules could apply to all modules, no?

@famod
Copy link
Member

famod commented Apr 8, 2021

It's not totally trivial, but via surefire you can run tests from jars so you could define those rules in a central module and add executions to all modules that need to be checked (ideally only add it to a parent to cover as much as possible).

@geoand
Copy link
Contributor Author

geoand commented Apr 8, 2021

Understood, thanks 👍

@famod
Copy link
Member

famod commented Apr 8, 2021

@geoand are you planning to do that? I think ArchUnit would be a valuable addition to the Quarkus QA.

@geoand
Copy link
Contributor Author

geoand commented Apr 8, 2021

I don't have any immediate plans, no.

But it's certainly something I'll keep in mind if no one else comes up with something in the meantime

@famod
Copy link
Member

famod commented Apr 8, 2021

@geoand let's track that via #16370 and whoever finds the time to do that can take that issue.

@michalszynkiewicz michalszynkiewicz merged commit d0e7f5b into quarkusio:main Apr 8, 2021
@quarkus-bot quarkus-bot bot added this to the 2.0 - main milestone Apr 8, 2021
@michalszynkiewicz
Copy link
Member

thanks @geoand !

@geoand
Copy link
Contributor Author

geoand commented Apr 8, 2021

YW!

@geoand geoand deleted the rest-client-jackson-issue branch April 9, 2021 06:06
@gsmet gsmet modified the milestones: 2.0 - main, 1.13.2.Final Apr 10, 2021
Sgitario added a commit to Sgitario/quarkus that referenced this pull request Jan 18, 2023
After quarkusio#27203, we can customize the object mappers to be used by REST Client Reactive.
However, because of quarkusio#16368, the implementation was never picked up when the resteasy reactive jackson extension is in place. 
I tried to remove the ResteasyReactiveJacksonProviderDefinedBuildItem build item and surprisingly everything kept working fine (I verified the test that was added as part of  quarkusio#16368.

Fix quarkusio#23979
Sgitario added a commit to Sgitario/quarkus that referenced this pull request Jan 18, 2023
After quarkusio#27203, we can customize the object mappers to be used by REST Client Reactive.
However, because of quarkusio#16368, the implementation was never picked up when the resteasy reactive jackson extension is in place. 
I tried to remove the ResteasyReactiveJacksonProviderDefinedBuildItem build item and surprisingly everything kept working fine (I verified the test that was added as part of  quarkusio#16368.

Fix quarkusio#23979
Sgitario added a commit to Sgitario/quarkus that referenced this pull request Jan 18, 2023
After quarkusio#27203, we can customize the object mappers to be used by REST Client Reactive.
However, because of quarkusio#16368, the implementation was never picked up when the resteasy reactive jackson extension is in place. 
I tried to remove the ResteasyReactiveJacksonProviderDefinedBuildItem build item and surprisingly everything kept working fine (I verified the test that was added as part of  quarkusio#16368.

Fix quarkusio#23979
Sgitario added a commit to Sgitario/quarkus that referenced this pull request Jan 19, 2023
After quarkusio#27203, we can customize the object mappers to be used by REST Client Reactive.
However, because of quarkusio#16368, the implementation was never picked up when the resteasy reactive jackson extension is in place. 
I tried to remove the ResteasyReactiveJacksonProviderDefinedBuildItem build item and surprisingly everything kept working fine (I verified the test that was added as part of  quarkusio#16368.

Fix quarkusio#23979
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants