-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Handle custom primary key names in entity filtering #13767
Conversation
… implementation, and support UUID pk type too
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.
To prevent regressions would be nice to add a copy of https://github.com/mshima/generator-jhipster/blob/main/test-integration/samples/jdl-entities/custom-id.jdl with filtering.
Co-authored-by: Marcelo Shima <marceloshima@gmail.com>
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
@mshima thanks for the fixes and for the merge! |
* Fix jhipster#13695 : Handle custom primary key names in the filtering implementation, and support UUID pk type too * Update generators/entity/index.js Co-authored-by: Marcelo Shima <marceloshima@gmail.com> * Convert Set to Array and add new entities for filtering * Fix invalid-id selection for Strings * Fix formatting * Change to put the unescaped value * Reduce entity’s name size * Make sure we are not adding false to the set * Lint fix Co-authored-by: Marcelo Shima <marceloshima@gmail.com>
Fix #13695 : Handle custom primary key names in the filtering impleme…
Please make sure the below checklist is followed for Pull Requests.
When you are still working on the PR, consider converting it to Draft (bellow reviewers) and adding
skip-ci
label, you can still see CI build result at your branch.