You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As project grows up, custom codes, aka business code will be huge difference comparing the original codes generated by jhipster and maintaining jdl file will be our daily job. What does we want is maintaining the jdl file and try not to make a negative impact on our custom code. However, if I maintain a single entity on a jdl file and use command either jdl or entity, it will affect other non-related code, make us have to solve the conflict and increase our maintenance cost.
Reproduce the error
Problem with command entity
Create and enter into a new folder and execute command git init.
Modify some code base based on existing entities. Commit or not.
in store gateway service: SysViewPermissionRepository, SysViewPermissionRepositoryInternalImpl, SysViewPermissionResource, SysViewPermissionService, sys-view-permisson-details
in product microservice: OrderItemSearchRepository, OrderItemService, OrderItemResource, order-item.vue .
Execute command jhipster jdl .\ms-ecommerce-store.jdl --auto-crlf --json-only with a modified jdl file ms-ecommerce-store-modified.txt
Enter into store folder and execute command jhipster entity Test1 --auto-crlf and select "Yes, re generate the entity"
It would find the SysViewPermissoin related codes were overwritten also.
Enter into product folder and execute command jhipster entity Test2 --auto-crlf and select "regenerate"
the OrderItem related codes were overwritten also.
Problem with command jdl
Create and enter into a new folder and execute command git init.
Modify some code base based on existing entities. Commit or not.
in store gateway service: SysViewPermissionRepository, SysViewPermissionRepositoryInternalImpl, SysViewPermissionResource, SysViewPermissionService, sys-view-permisson-details
in product microservice: OrderItemSearchRepository, OrderItemService, OrderItemResource, order-item.vue .
Overview of the issue
Motivation for or Use Case
As project grows up, custom codes, aka business code will be huge difference comparing the original codes generated by jhipster and maintaining jdl file will be our daily job. What does we want is maintaining the jdl file and try not to make a negative impact on our custom code. However, if I maintain a single entity on a jdl file and use command either
jdl
orentity
, it will affect other non-related code, make us have to solve the conflict and increase our maintenance cost.Reproduce the error
Problem with command entity
Create and enter into a new folder and execute command
git init
.Generate project by command
jhipster jdl .\ms-ecommerce-store.jdl --auto-crlf
with jdl file ms-ecommerce-store-original.txtModify some code base based on existing entities. Commit or not.
Execute command
jhipster jdl .\ms-ecommerce-store.jdl --auto-crlf --json-only
with a modified jdl file ms-ecommerce-store-modified.txtEnter into store folder and execute command
jhipster entity Test1 --auto-crlf
and select "Yes, re generate the entity"It would find the SysViewPermissoin related codes were overwritten also.
Enter into product folder and execute command
jhipster entity Test2 --auto-crlf
and select "regenerate"the OrderItem related codes were overwritten also.
Problem with command jdl
Create and enter into a new folder and execute command
git init
.Generate project by command
jhipster jdl .\ms-ecommerce-store.jdl --auto-crlf
with jdl file ms-ecommerce-store-original.txtModify some code base based on existing entities. Commit or not.
Execute command
jhipster jdl .\ms-ecommerce-store.jdl --auto-crlf
with a modified jdl file ms-ecommerce-store-modified.txtThe progress will be stuck and cannot more forward with any button. If hitting any button, it would appear tribble characters.
Related issues
Suggest a Fix
JHipster Version(s)
v8.7.3
Browsers and Operating System
Edition Windows 11 Pro
Version 24H2
Installed on 11/22/2024
OS build 26100.2894
Experience Windows Feature Experience Pack 1000.26100.36.0
The text was updated successfully, but these errors were encountered: