Problem/Motivation

We want to support includes when serializing an entity into JSON API format.

Proposed resolution

Alter the service to take the information for the includes query string parameter.

Comments

e0ipso created an issue. See original summary.

br0ken’s picture

Status: Active » Needs review
StatusFileSize
new3.26 KB
br0ken’s picture

StatusFileSize
new3.26 KB
new469 bytes

[Copy-paste detected]

The last submitted patch, 2: 2995142-2.patch, failed testing. View results

br0ken’s picture

StatusFileSize
new8.76 KB
new5.4 KB

Status: Needs review » Needs work

The last submitted patch, 5: 2995142-5.patch, failed testing. View results

br0ken’s picture

Status: Needs work » Needs review
StatusFileSize
new9.36 KB
new520 bytes

The BootstrapConfigStorageFactory::get()->read('jsonapi_extras.settings') may be false and that leaads to the / as a value of the jsonapi.base_path container parameter.

br0ken’s picture

StatusFileSize
new9.7 KB
new441 bytes

Assert that base path is longer than one symbol (slash).

e0ipso’s picture

StatusFileSize
new9.99 KB

I made some changes to the patch on #8.

e0ipso’s picture

StatusFileSize
new7.91 KB

  • e0ipso committed 41813c2 on 8.x-2.x authored by BR0kEN
    Issue #2995142 by BR0kEN, e0ipso: Support includes the EntityToJsonapi...
e0ipso’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.