Closed (fixed)
Project:
JSON:API Extras
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Mar 2019 at 22:55 UTC
Updated:
11 Apr 2019 at 04:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
gabesulliceComment #3
gabesulliceFixing a CS violation.
Comment #4
wim leersWow, really impressive work here!
Of course, the person to review this, is @e0ipso.
👏 Decoration FTW!
😮 → 🤔 → 🥳
This rename should've already happened before, it just hasn't yet. No huge deal, but if you don't know that this is simply a "forgotten rename", then this is of course very confusing.
Comment #5
effulgentsia commentedI think we can remove the
[]from here. It's a remnant from earlier work that I did on this where I was adding to theDrupal\jsonapinamespace rather than defining a more specific namespace.Comment #6
e0ipsoI'll be looking into this soon.
Comment #7
e0ipsoThis is a neat trick! I don't see any big issues that prevent from merging, then refining if necessary.
However, it makes me doubt the effectiveness of the prevention measures we put in JSON:API. I think this all rely on hopefully people won't notice that you can do it like this.
I will re-roll de patch and then merge.
Comment #8
e0ipsoKicking tests. No interdiff because re-roll.
Comment #10
wim leersThere's two failures in #8:
::testWrite()fails because as of JSON:API 2.4, "read-only mode" is turned on by default: #3039568: Add a read-only mode to JSON:APIjsonapi.link_managerno longer exists.Attached is the fix for the first failure. For the second failure, we should commit #3035045: Make EntityToJsonApi use subrequests so that it never breaks again. Marking this issue as postponed on that.
Comment #11
e0ipso#3035045: Make EntityToJsonApi use subrequests so that it never breaks again is resolved. Un-postponing and kicking off tests.
Comment #12
wim leersI think we want #3035134: Compatibility with upcoming JSON:API 2.4 release: JSON:API Extras 3.5 to land first.
Comment #13
wim leersApplied #10 on top of #3042124-11: [regression] Empty response body when user is an administrator and an exception is thrown; some traces cannot be encoded because of recursion detection. — tests are green :) As soon as that lands, this can move forward too. 🥳
Comment #14
wim leers#3035134: Compatibility with upcoming JSON:API 2.4 release: JSON:API Extras 3.5 landed. Uploading a rebased #10.
Comment #15
e0ipsoYou beat me to it @Wim Leers!
@Wim Leers++
Comment #17
e0ipsoFixed! Thanks all.