-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Generate applications without entities among a mixed list in JDL #13280
Generate applications without entities among a mixed list in JDL #13280
Conversation
Fixes bug to include applications with or without entities from the config file, where applications without entities was ignored from a list of applications with atleast one application with entities Fix jhipster#13141
Something bothers me: the need to do this function. Are applications without entities filtered somewhere? |
@MathieuAA The importState in The flow is such that this application-entity map is constructed from For test I agree, the test for jdl-importer should be added. |
Once the test is done, I think we should see things more clearly. Moreover, a test for the JDL cli command would be nice too! |
jdl/converters/jdl-to-json/jdl-with-applications-to-json-converter.js
Outdated
Show resolved
Hide resolved
@MathieuAA could you please explain what do you mean by 'JDL cli command' test, is it integration-test? or where are they located? |
In |
….js and import-jdl.js Add test cases for testing app generation from JDL with two apps (one with entities and one without) Fix jhipster#13141
@MathieuAA : if you feel confident, can we merge this for v7 ? |
Yes, let's do this |
Bounty claim at https://opencollective.com/generator-jhipster/expenses/30284 |
@swarajsaaj : approved |
@swarajsaaj great job :) |
Thanks @MathieuAA :) . Thanks for all the help |
…pster#13280) * Generate applications without entities among a mixed list in JDL Fixes bug to include applications with or without entities from the config file, where applications without entities was ignored from a list of applications with atleast one application with entities Fix jhipster#13141 * Add test cases for multiple apps(entity + non-entity) in jdl-importer.js and import-jdl.js Add test cases for testing app generation from JDL with two apps (one with entities and one without) Fix jhipster#13141
Fixes bug to include applications with or without entities from the
config file, where applications without entities was ignored from a list
of applications with atleast one application with entities
Fix #13141
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.