Closed xispa closed 4 years ago
This PR reviews the behavior of update route and adds doctests as well.
The following has been fixed:
update
resource
uid
/<string:resource>
/<any(" + ACTIONS + "):action>
The following has been added:
IUpdate
And the following restrictions have been added:
id
-- I confirm I have tested the PR thoroughly and coded it according to PEP8 standards.
Description of the issue/feature this PR addresses
This PR reviews the behavior of update route and adds doctests as well.
The following has been fixed:
update
was used (without neitherresource
noruid
. The reason is that the route/<string:resource>
was masking the route/<any(" + ACTIONS + "):action>
. https://github.com/senaite/senaite.jsonapi/commit/0e5377c02eb2b17f7beca1bc818d228060853bbbThe following has been added:
IUpdate
for custom update adaptersAnd the following restrictions have been added:
id
-- I confirm I have tested the PR thoroughly and coded it according to PEP8 standards.