server icon indicating copy to clipboard operation
server copied to clipboard

Create & Read - Community Guidelines template

Open EmiliaPavlova opened this issue 2 months ago • 0 comments

The final implementation

When a template is created from input that will create a new entity in it's table and the template will mantain a 1:1 relation to that NEW entry. When a template is created from entity, a new entity from the same type will be duplicated and a 1:1 relation to the COPIED entry will be maintain from the template.

Note

When a duplicate is made, in the case of creating a template from an entity, that duplicate MUST NOT maintain the same relations as the original, meaning a Post must not be a part of a Callout, etc - a pure entry not appearing anywhere on the platform, ONLY used for that single template.

This approach will take care of domain updates to the entity and will reduce the custom code and fields that have to be mainated with every new template type.

EmiliaPavlova avatar May 09 '24 14:05 EmiliaPavlova