Problem/Motivation
In order to be compliant with the JSON API specification, we need to provide the links key to describe the different resources being returned in the GET responses.
Proposed resolution
Add the links based on the current request in the different normalizers.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 2731331--add-links--8.patch | 614 bytes | gabesullice |
| #4 | 2731331--add-links--3.patch | 30.43 KB | gabesullice |
| #2 | 2731331--add-links--2.patch | 30.59 KB | e0ipso |
Comments
Comment #2
e0ipsoInitial patch to add the:
Output with the patch applied (you can see tests as well):
Comment #4
gabesulliceLGTM. Merging, had to make a small change. Patch attached.
Comment #5
gabesulliceComment #8
gabesulliceFixing bad namespace.
Comment #10
gabesulliceComment #11
gabesullice