Skip to content

feat: allow partial updates via updateDataset - #511

Open
vera wants to merge 1 commit into
IQSS:developfrom
vera:feat/partial-dataset-update
Open

vera wants to merge 1 commit into
IQSS:developfrom
vera:feat/partial-dataset-update

Conversation

@vera

@vera vera commented Nov 27, 2026

Copy link
Copy Markdown
Member

What this PR does / why we need it:

Allows partial metadata updates through updateDataset. Omitted fields retain their values. Only the actually supplied fields are validated.

Previously, a partial metadata update would fail with a validation error if it was any missing mandatory fields.

Which issue(s) this PR closes:

None

Related Dataverse PRs:

None

Special notes for your reviewer:

None

Suggestions on how to test this:

Update e.g. only a dataset’s title and verify omitted fields are preserved.

I added new functional and unit test cases for this.

Is there a release notes or changelog update needed for this change?:

Yes, included under "Unreleased"

Additional documentation:

Updated docs/useCases.md to describe the partial-update behavior and updated the example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant