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

native query does not allow consistent api design #97

Open
fwilhe opened this issue Sep 12, 2024 · 0 comments
Open

native query does not allow consistent api design #97

fwilhe opened this issue Sep 12, 2024 · 0 comments
Labels

Comments

@fwilhe
Copy link
Member

fwilhe commented Sep 12, 2024

What happened:

The /cves/{distro}/{gardenlinuxVersion}/packages/{packageList} endpoint uses a native sql query because I'm not sure how or if the in-array search can be done with pure jpa means. This has downsides for example for implementing sorting here gardenlinux/glvd-api#34

What you expected to happen:

API endpoints should work consistently

Todo:

Investigate how to resolve this. Best would be if we can get rid of the native query, I guess.

@fwilhe fwilhe added the kind/bug Bug label Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant