Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update metadata-patch.md to describe replace operation better #304

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tdonohue
Copy link
Member

@tdonohue tdonohue commented Feb 6, 2025

This PR is based on the discussion in DSpace/DSpace#9610 (comment)

Per RFC Section 4.3 (replace) and RFC section 4.1 (add), we recommend using the add operation (with an array of values) to replace all values. The replace operation should only be used to replace individual values.

This small PR corrects some incorrect documentation in our REST Contract

@tdonohue tdonohue added 1 APPROVAL pull request only requires a single approval to merge. port to dspace-7_x This PR needs to be ported to `dspace-7_x` branch for next bug-fix release port to dspace-8_x This PR needs to be ported to `dspace-8_x` branch for next bug-fix release labels Feb 6, 2025
@tdonohue
Copy link
Member Author

tdonohue commented Feb 6, 2025

@atarix83 or @abollini : If you have a chance, I'd appreciate your review on this small change to our REST Contract. I'm trying to better document the replace operation, as there was confusion in today's meeting in the discussion of DSpace/DSpace#9610 (comment)

@tdonohue tdonohue requested review from abollini and atarix83 February 6, 2025 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 APPROVAL pull request only requires a single approval to merge. port to dspace-7_x This PR needs to be ported to `dspace-7_x` branch for next bug-fix release port to dspace-8_x This PR needs to be ported to `dspace-8_x` branch for next bug-fix release
Projects
Status: 🙋 Needs Reviewers Assigned
Development

Successfully merging this pull request may close these issues.

1 participant