Comments (5)
Hi @mraible,
Is it difficult to add option -yesToAll
and the path for backend
That would reply yes to all and considered my Backend Path?
Something like?
yo jhipster-ionic:entity MyEntity -yesToAll ../MyBackEnd
With 100 entities is just run that and we have the same as jdl :-)
Example: When I generate backend I get only for the changed entities:
Entity NmsIntegratorServer generated successfully.
Entity NmsIntServerBrand generated successfully.
Entity NmsChgNetwork generated successfully.
Entity NmsAlert generated successfully.
Entity NmsPatientState generated successfully.
Entity NmsAlertReason generated successfully.
Entity NmsAlertLog generated successfully.
Entity NmsAlertPrecedence generated successfully.
Entity NmsChatRead generated successfully.
Entity NmsChatReceived generated successfully.
Entity NmsFamily generated successfully.
I would replace by
yo jhipster-ionic:entity NmsIntegratorServer -yesToAll ../MyBackEnd
yo jhipster-ionic:entity NmsIntServerBrand -yesToAll ../MyBackEnd
yo jhipster-ionic:entity NmsChgNetwork -yesToAll ../MyBackEnd
yo jhipster-ionic:entity NmsAlert -yesToAll ../MyBackEnd
yo jhipster-ionic:entity NmsPatientState -yesToAll ../MyBackEnd
yo jhipster-ionic:entity NmsAlertReason -yesToAll ../MyBackEnd
yo jhipster-ionic:entity NmsAlertLog -yesToAll ../MyBackEnd
yo jhipster-ionic:entity NmsAlertPrecedence -yesToAll ../MyBackEnd
yo jhipster-ionic:entity NmsChatRead -yesToAll ../MyBackEnd
yo jhipster-ionic:entity NmsChatReceived -yesToAll ../MyBackEnd
yo jhipster-ionic:entity NmsFamily -yesToAll ../MyBackEnd
And run it without having to answer nothing it would be almost the same as having jdl :-)
What do you think?
from generator-jhipster-ionic.
@Entrecampos I originally tried to do yo jhipster-ionic:entity *
, but was unable to capture the asterisk character. It seems it's being swallowed by Yeoman.
I agree that we should have one command that generates all entities. I think import-jdl is the most familiar to people using JHipster, so that's what I'd like to support.
from generator-jhipster-ionic.
@mraible Yes it makes sense jdl. But if possible -yesToAll would be great :-)
from generator-jhipster-ionic.
@deepu105 I see that import-jdl.js
in JHipster is not a generator, so it's not as easy to extend as the entity generator was. Do you know if it's possible to extend import-jdl
from JHipster and implement it in Ionic (which is a Yeoman module, not a blueprint). If not, I can probably just copy/paste the whole thing.
Thanks!
Matt
from generator-jhipster-ionic.
Fixed by #159.
from generator-jhipster-ionic.
Related Issues (20)
- I can't run jhipster-ionic blueprint v8.1.0
- Replace ionic-native with awesome-cordova-plugins. HOT 4
- Update ionic-appauth to released version. HOT 2
- Investigate to reuse main generator components
- Error when creating entity in frontend HOT 3
- Error getting when try to create entity in front end HOT 4
- Getting error when try to create new entity HOT 2
- Error when generating the code if the jdl file has an entity with no fields HOT 5
- Conflict when an entity has two image fields HOT 5
- JWT Token issue HOT 2
- Release 8.1.0 HOT 2
- jhipster server and jhipster-ionic App Continuous Integration HOT 3
- OneToOne Relationship with jdl doesn't work HOT 8
- CORS Error HOT 12
- Are you sure you added CORS information in the correct part of `application.yml`? You might look at the [`application-dev.yml` template](https://github.com/jhipster/generator-jhipster/blob/main/generators/server/templates/src/main/resources/config/application-dev.yml.ejs#L292) to see where it should be.
- Oauth2 Social Sign-In In Android App
- Migrate to JHipster v8 HOT 5
- Release new version with Node 18 support HOT 3
- npx ionic capacitor add ios. is throwing an issue below HOT 1
- Update to angular 17 and update implementation to new angular standards. HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-jhipster-ionic.