Closed lucaswerkmeister closed 3 years ago
Note: this pull request also includes the commits from #23; that PR should be merged first.
Note: this pull request also includes the commits from #23; that PR should be merged first.
Done and rebased.
Rebased onto main after #17 (which required the addition of $otherItems
to EditRequest
).
I also swapped the components of EditRequest
: “reconcile” now comes before “entity”.
This introduces the EditRequestParser service and makes it responsible for parsing the request data and validating it, up to the point of parsing the “entity” input and checking the property datatype in the “reconcile” input. Further validation should stay in EditEndpoint, I believe – it’s not EditRequestParser’s responsibility to know that e.g. EditEndpoint doesn’t support qualifiers and references yet.
Bug: T282564