Closed GPortas closed 3 months ago
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.
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