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
This is needed for the frontend to be able to use the enum values to be loaded as options in the UI for the different cases, like the sub_content_type field. This endpoint will automatically update its content once the related enums change.
The idea is to make it generic so it can be extended in the future for other entity types, if needed, since it is low effort.
The enums are loaded from domain code, as that is the source of truth, since DB ones have outdated values.
The text was updated successfully, but these errors were encountered:
[Re #1730]
As explained in the issue, we have now a generic endpoint to provide
with the enum values of Policy entity type, which allows a future
extension for other entity types, if needed.
The values are obtained from the domain code, as those are the source of
truth (up-to-date).
This is needed for the frontend to be able to use the enum values to be loaded as options in the UI for the different cases, like the
sub_content_type
field. This endpoint will automatically update its content once the related enums change.The idea is to make it generic so it can be extended in the future for other entity types, if needed, since it is low effort.
The enums are loaded from domain code, as that is the source of truth, since DB ones have outdated values.
The text was updated successfully, but these errors were encountered: