This is the JSON API sister issue of #2895532: @DataType=map cannot be normalized, affects @FieldType=link, @FieldType=map.
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | 2986404-13.patch | 9.08 KB | wim leers |
| #13 | interdiff.txt | 2.27 KB | wim leers |
| #11 | 2986404-11.patch | 10.34 KB | wim leers |
| #11 | interdiff-7-11.txt | 2.13 KB | wim leers |
| #11 | interdiff.txt | 2.27 KB | wim leers |
Comments
Comment #2
wim leersThis is blocked on #2895532-162: @DataType=map cannot be normalized, affects @FieldType=link, @FieldType=map getting committed to Drupal core.
Comment #3
wim leers#2895532: @DataType=map cannot be normalized, affects @FieldType=link, @FieldType=map landed! I'll work on this later today.
Comment #4
wim leersThis was only blocked on #2895532: @DataType=map cannot be normalized, affects @FieldType=link, @FieldType=map to ensure JSON API implements the exact same solution.
Also, this is hardly a feature request. Somewhere between a bug and a feature. Let's settle on .
#2 still applies cleanly. I ported over all relevant interdiff changes between #2895532-162: @DataType=map cannot be normalized, affects @FieldType=link, @FieldType=map and #2895532-179: @DataType=map cannot be normalized, affects @FieldType=link, @FieldType=map (the committed patch). Let's see how this does.
Comment #6
wim leersApparently there's a bug in
::testPatchIndividual(). It needs an improvement that::testPostIndividual()already has!Comment #7
wim leersLet's make
::testPatchIndividual()follow::testPostIndividual()'s lead more closely.Comment #9
wim leersThe test entity type doesn't exist on 8.5. D'oh. Updated accordingly.
Comment #11
wim leers😅
Comment #13
wim leersUgh, it fails even during
::setUp(). I gave up, and ran tests on Drupal 8.5 locally. Found a much simpler solution.Comment #14
wim leersPassed on 8.5, 8.6, 8.7! 🎉
Comment #15
gabesulliceoooh, that's fancy.
Good work 👏
Comment #16
wim leersIt's fancy and also the only way I could make it work — an if-test +
$this->markTestSkipped()didn't work, I tried that first 😅Comment #18
wim leers