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
JDL support for filtering is missing in 4.7.0 #6286
Comments
ping @MathieuAA |
@shekvl the feature is not supported by JDL yet |
@deepu105 Roger that, I'll handle it |
Thanks @MathieuAA -> I'm closing this here as this should be handled in jhipster-core |
is the keyword 'for' in the 'filter' optional or mandatory? see example and documentation They can be used like this: in other words, which statement is correct 1 or 2: entity A
|
@colameo The word |
ok, thanks @ruddell |
...hm, the documentation is a bit unclear as the 'for' word is allowed for the following options: skipClient ...but not for filter. |
@colameo I see your point, it doesn't really make sense why some keywords use |
I'll fix it today. |
Overview of the issue
In 4.7.0, jdl-import generator does not create
"jpaMetamodelFiltering": true
entries in .jhipster/*.json files (enabling criteria query generation), and there seems to be no way currently to enable such generation from JDL.Motivation for or Use Case
Without this functionality, it is not possible to correctly update filtering-enabled entities from JDL, as, after every update, the filtering support is switched off (as it defaults to "no").
Reproduce the error
Run jhipster import-jdl with any JDL file and check the resulting .json files.
Related issues
Suggest a Fix
The option like
filtering for <entity-name | *>
can be added to the JDL syntax. Such option, if enabled, should lead to the generation of the
"jpaMetamodelFiltering": true
entry in .json file for the corresponding entity.JHipster Version(s)
4.7.0
The text was updated successfully, but these errors were encountered: