DEV Community

Discussion on: My beautiful Linux development environment

Collapse
 
sebastiandg7 profile image
Sebastián Duque G

Thanks for sharing this setup! I'm currently using a very stable, ubuntu based distro built wih UI/UX in mind: Pop! OS. It's smooth, beautiful and works! You should take a look at it.

Off topic (If there is a space for this here): I'm a BIG fan of JHipster. Since the first try of this generator in 2017 I came across a very important doubt: How to handle generated code maintainability when upgrading the JDL model? I know you can create some /api/extended/... controllers, extend the service layer to create your own business logic, create your own repositories for custom querys.. and it's great, this way your custom code will not be overwritten. But, I don't want to have an /api/my-entity/delete endpoint published with no authorization restrictions over a business sensitive entity.

If been trying different options but I have found some points which I don´t feel "clean" with:

  • I don´t want to be deleting the JHipster generated controllers in each entity update.
  • Having your true business logic under the /api/ext(ended)/ base path is not "REST aesthetic".

Do you have any recommendation for this?

Collapse
 
deepu105 profile image
Deepu K Sasidharan

Unfortunately this something we are still trying to solve. I think a better place to discuss this would in the Jhipster gitter channel