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

Ignore synthetic JAX-RS resource classes by default #1096

Merged
merged 2 commits into from
Mar 17, 2022

Conversation

MikeEdgar
Copy link
Member

Fixes #1095

@MikeEdgar MikeEdgar added this to the 2.1.22 milestone Mar 17, 2022
@MikeEdgar MikeEdgar force-pushed the 1095_ignore_synthetic_classes branch from 1a20954 to 70e6cfe Compare March 17, 2022 10:23
@phillip-kruger
Copy link
Member

I think the problem is for some synthetic classes we do not want this. Like panache-rest, where the server side is generated ? Not sure if that applies here, can you double check ?

@MikeEdgar
Copy link
Member Author

Like panache-rest, where the server side is generated ?

Ah, maybe that's where checking for @RegisterRestClient comes back into the picture.

@phillip-kruger
Copy link
Member

ok are we already doing that ? Maybe add a test for that scenario ? (class without @RegisterRestClient)

@MikeEdgar
Copy link
Member Author

We are not, due to some previous issues. I'm checking what a Panache REST resource looks like as well.

@phillip-kruger
Copy link
Member

Ok cool

@MikeEdgar
Copy link
Member Author

@phillip-kruger updated, please have another look. We need a way to put the source code for the test index in the project. Maybe we should add another module that is a test dependency of the others that builds a Quarkus app?

Copy link
Member

@phillip-kruger phillip-kruger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@MikeEdgar MikeEdgar merged commit ce2d531 into smallrye:main Mar 17, 2022
@MikeEdgar MikeEdgar deleted the 1095_ignore_synthetic_classes branch March 17, 2022 17:48
MikeEdgar added a commit to MikeEdgar/smallrye-open-api that referenced this pull request Mar 11, 2023
MikeEdgar added a commit to MikeEdgar/smallrye-open-api that referenced this pull request Mar 11, 2023
MikeEdgar added a commit to MikeEdgar/smallrye-open-api that referenced this pull request Mar 11, 2023
MikeEdgar added a commit to MikeEdgar/smallrye-open-api that referenced this pull request Mar 14, 2023
MikeEdgar added a commit to MikeEdgar/smallrye-open-api that referenced this pull request Mar 14, 2023
MikeEdgar added a commit to MikeEdgar/smallrye-open-api that referenced this pull request Mar 15, 2023
MikeEdgar added a commit to MikeEdgar/smallrye-open-api that referenced this pull request Mar 18, 2023
phillip-kruger added a commit that referenced this pull request Mar 19, 2023
Make testsuite/data a Quarkus app, include indexed classes from #1096
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.

Synthetic classes not ignored
2 participants