-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: provide translation profile defaults for configuring common settings appliyng to all zaaktype related custom translation profiles #296
Conversation
The full baseProfile system is now useable. Sending any message of any type to the new configuration will return a version of Profile.json, as an XML, which has the baseProfile values added to every profile. It does not overwrite existing values or break the structure.
Adds baseProfile with some example elements. Can be changed where necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
It is not implemented anywhere yet. It should be implemented in
ImportValueOverridesFromTranslationProfile
configuration instead of reading the profiles.json itself. Also every place in ZaakBrug that using values from the profile, should be changed to make use of the resolved profiles. -
Can you align the formatting with other adapters. You can use
ImportValueOverridesFromTranslationProfile
as example. -
It is not merging array's like valueOverrides.
src/main/configurations/Translate/Configuration_ResolveProfileValues.xml
Outdated
Show resolved
Hide resolved
src/main/configurations/Translate/Configuration_ResolveProfileValues.xml
Outdated
Show resolved
Hide resolved
## [1.18.0](v1.17.1...v1.18.0) (2024-04-18) ### 🍕 Features * provide translation profile defaults for configuring common settings applying to all zaaktype related custom translation profiles ([#296](#296)) ([81e9114](81e9114))
🎉 This PR is included in version 1.18.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Adds the ability to define a baseProfile, as well as giving the option to call the new ResolveProfileValues adapter. Upon being called it will then merge the baseProfile's values into every other profile while avoiding overwriting existing values and retaining the structure of the elements.
Note: A cache is active on this adapter. Processing is only done once.