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

Distinct generated count method from interface in REST Data with Panache #30530

Merged
merged 1 commit into from
Jan 23, 2023

Conversation

Sgitario
Copy link
Contributor

@Sgitario Sgitario commented Jan 23, 2023

The native compilation fails because it detects that the generated method "count" does not match the method "count" from the interface. To solve this issue and to follow the same logic in the other generated methods, I've added a contextual uriInfo parameter, so the native compilation can't detect this method is the same as in the interface.

Moreover, I'm unsure why this is only spotted when using the elytron-security-properties-file module.

Fix #30515

@Sgitario
Copy link
Contributor Author

I've added any test cases here because native tests are always cumbersome (as they increment the overall build time) and this scenario is already covered by Quarkus QE. However, let me know and I will add a new integration test to cover this case.

@quarkus-bot
Copy link

quarkus-bot bot commented Jan 23, 2023

✔️ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

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.

Native build fails with hibernate-orm-rest-data-panache + elytron-security-properties-file
3 participants