Closed (fixed)
Project:
JSON:API
Version:
8.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 Oct 2018 at 03:46 UTC
Updated:
25 Oct 2018 at 16:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jludwig commentedComment #3
jludwig commentedComment #4
wim leersD'oh! 😞
Makes sense. Good find. Thanks for the detailed report and patch! 👏
The patch does exactly what I would propose! I only have obscenely nitpicky nitpicks:
Nit: s/Execute/Executes/
(I know you c/p'ed this, but as soon as it's a method, Drupal CS mandate that this is a 3rd person singular verb.)
Nit: s/ids/IDs/
All this needs is:
However, in this case, the test coverage would be for functionality that
jsonapi_extrasprovides, notjsonapi. (That's a whole discussion too, see #2942426: [DISCUSSION] Remove query counting and collection counts?.) Given that, I think test coverage is not necessary. Even more so because it's just expanding/consistently applying a pre-existing pattern. So I think this can go in without test coverage.That leaves only:
Looks like you're in the USA, so you must be sleeping right now. I'll get those small things done, so you wake up to a fixed issue 😃
Comment #5
wim leersComment #7
wim leersLooks like #2 did introduce a small bug. Easy fix :)
Comment #9
wim leersAnd one more small mistake in #2.
Comment #10
wim leersGreen!
Comment #12
wim leersComment #13
e0ipso👍🏽