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
{{ message }}
This repository has been archived by the owner on Mar 21, 2021. It is now read-only.
Change the jhipster_entity_exporter to deep merge the generated json with the current json if it exists. Similar to how the MergeJsonWebpackPlugin does with the i18n files.
Motivation for or Use Case
This would allow blueprint authors to use the entity configurations to store additional settings or parameters that are not supported by the JDL. Anything that is supported by the JDL should continue to be maintained in there.
Additional settings in the entity json works as is now but any changes get overwritten on jdl-import so merging would be much more user friendly.
The primary hurdle would be updating object_utils::areEntitiesEqual to only check for JDL supported fields. Possibly have an AllJdlEntityFields object with all the supported fields and then copy the values from the generated entity and current entity into new AllEntityFields objects before comparing them?
Checking this box is mandatory (this is just to show you read everything)
The text was updated successfully, but these errors were encountered:
Sorry for the late answer, I admit I forgot about this issue as I didn't have much time before. I have the JDL exporting to improve right now, but this issue shall be the next priority.
Overview of the feature request
Change the
jhipster_entity_exporter
to deep merge the generated json with the current json if it exists. Similar to how theMergeJsonWebpackPlugin
does with the i18n files.Motivation for or Use Case
This would allow blueprint authors to use the entity configurations to store additional settings or parameters that are not supported by the JDL. Anything that is supported by the JDL should continue to be maintained in there.
Additional settings in the entity json works as is now but any changes get overwritten on jdl-import so merging would be much more user friendly.
The primary hurdle would be updating
object_utils::areEntitiesEqual
to only check for JDL supported fields. Possibly have an AllJdlEntityFields object with all the supported fields and then copy the values from the generated entity and current entity into new AllEntityFields objects before comparing them?The text was updated successfully, but these errors were encountered: