-
Notifications
You must be signed in to change notification settings - Fork 8
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
Edit dataset use case #151
Conversation
… into 146-edit-dataset-use-case
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks solid and tests are passing perfectly.
This use case is for updating only the metadata field values of a dataset right?
Thanks for your review. Yes, only the metadata. |
… into 146-edit-dataset-use-case
looks good! ran the tests in my environment and all are passing |
What this PR does / why we need it:
Adds the dataset editing use case to the package.
This use case will be used by the SPA dataset edit form, but could be useful for any other consumer application that requires updating dataset metadata.
The use case reuses the logic from the dataset creation use case, such as field validation, which is why I refactored the code to avoid duplication.
Which issue(s) this PR closes:
Related Dataverse PRs:
Suggestions on how to test this:
Visual inspection of the code and GitHub actions.
Additional documentation:
None