Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: return a DeletedResource or DeletedValue instead of 404 if a de…
…leted resource or value is requested (DEV-226) (#1960) * feat: add DeletedValue and DeletedResource to base ontology; see how things work * feat: return DeletedResource for deleted resources * chore: update test data * refactor: move toDeletedResource to message; feat: add deleted resource logic to preview * chore: update client-test-data * feat: implement DeletedValue * fix: version history can be retrieved even if a value was deleted * refactor: string interpolation issues * feast: correctly handle DeletedValue in resource history * chore: update test data * refactor: get rid of some code smells * refactor: remove additional code smell * test: improve tests for deleted resources * docs: add docstrings * Update ValuesResponderV2Spec.scala * docs: change codeblock language tag from jsonld to json * docs: add documentation for deleted resource * fix: actually return deleted values * refactor: remove codesmell * docs: document DeletedValue * chore: update test data * docs: rectify documentation on DeletedValue * fix: correctly check if LinkValue was deleted * docs: fix typos according to review Co-authored-by: irinaschubert <irina.schubert@dasch.swiss> * docs: apply changes according to review Co-authored-by: Marcin Procyk <marcin.procyk@dasch.swiss> * docs: make snippets in docs valid JSON * refactor: rename some unclearly named variables Co-authored-by: irinaschubert <irina.schubert@dasch.swiss> Co-authored-by: Marcin Procyk <marcin.procyk@dasch.swiss>
- Loading branch information
1 parent
af64021
commit c78e252
Showing
72 changed files
with
21,824 additions
and
19,936 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.