这是indexloc提供的服务,不要输入任何密码
Skip to content

Refactor/Migrate the Data Object to a Sub-Collection #398

@DennisAlund

Description

@DennisAlund

Description:

Refactor the current data structure to move the data object to a sub-collection. This will improve consistency, ease of updates, and monitoring of changes.

Objectives:

  • Consistency with Revision Handling:

    • Align the handling of the data object with the revision handling of other data values in the same document.
  • Ease of Updates:

    • Simplify updates to the data object by reducing the risk of accidentally overwriting other properties in the document when updating.
  • Improved Monitoring:

    • Enhance the ability to monitor updates to the tanam document by ensuring that only changes to the data object create a revision, while changes to the meta-data in the main document do not trigger a revision.

Benefits:

  • Improved data consistency and integrity.
  • Reduced risk of accidental data loss or overwrites.
  • More accurate and specific monitoring of document changes.

Acceptance Criteria:

  • The data object is migrated to a sub-collection.
  • Updates to the data object do not affect other properties in the document.
  • Only changes to the data object trigger the creation of a revision.
  • Changes to the meta-data in the main document do not create a revision.

Notes:

  • Ensure robust error handling and logging during the migration process.
  • Thoroughly test the new data structure to confirm consistency and reliability.
  • Update documentation to reflect the new data structure and handling processes.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions