Skip to content

Differences in backend-v3 history and backend-next v3/history #2285

@omkar-ethz

Description

@omkar-ethz

#2282 addresses #2248 to include v3 compatible history, however there are some differences:

  1. for properties of Dataset with non-primitive i.e. object type, previousValue includes all fields only for datsetlifecycle. For all other object fields, only the changed fields will be included in previousValue.
  2. For all fields in datasetlifecycle to be included, datasetlifecycle must be present in the dataset: i.e. if a user requests a projection without it e.g. {"where": {"pid": "undefined/160b802d-9866-48eb-9f5c-5da3f3c75e9c"}, "fields": ["_id", "history", "datasetlifecycle"] }, only the changed fields will be included in datasetlifecyle.previousValue

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions