-
Notifications
You must be signed in to change notification settings - Fork 13
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
Hotfix/remove patch #206
Hotfix/remove patch #206
Conversation
153a5f5
to
b4d257e
Compare
@@ -13,30 +13,36 @@ describe("includes", function () { | |||
function setupLinks(_ids) { | |||
ids = _ids; | |||
|
|||
function link(url, path, value) { | |||
function link(resource, resourceId, link, linkId) { | |||
const url = `/${resource}/${resourceId}`; |
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.
Could you explain this change? It seems you followed a TODO comment that led you to this change.
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.
I had to rewrite tests on which PATCH were used to use PUT instead
op: 'replace', | ||
path: path, | ||
value: value | ||
var data = { |
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.
data is an object now, is this intentional? What's the reason behind this contract change?
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.
Didn't change the test behaviour, it's passing, I just changed it to be an object as the PUT method expects.
LGTM |
We are removing the PATCH support due the issue #203 .
Coverage decreased (-1.5%) to 82.699% when pulling b4d257e on hotfix/remove-patch into 6bd13df on develop.
Coverage decreased (-1.5%) to 82.699% when pulling b4d257e on hotfix/remove-patch into 6bd13df on develop.
This change is