Closed (fixed)
Project:
JSON:API
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Mar 2017 at 13:36 UTC
Updated:
18 May 2018 at 10:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
e0ipsoThanks for taking the time to create this!
Comment #3
e0ipsoComment #4
wim leersComment #5
wim leersAgain relevant with #2917260: Validate against specific JSON Schemas if Schemata is present.
Comment #6
wim leersDone.
Together with #2941685: Port parameter based resource config from REST module, this will make sure that
\Drupal\jsonapi\EventSubscriber\ResourceResponseSubscribermatches\Drupal\rest\EventSubscriber\ResourceResponseSubscriberas closely as possible, hence opening the door to moving it into theserializationmodule in the future.Rather than one very complex event subscriber, we now have two simple ones, one of which will disappear in the future!
Comment #7
wim leers#2941685: Port parameter based resource config from REST module landed, this needs to be rebased.
Comment #8
wim leersComment #9
gabesulliceLooks really good. Just one thing:
Outdated comment.
Comment #10
gabesulliceRTBC, the one test failure is due to a required update to HEAD because of: #2950129: Add helpful reason for 'update' and 'delete' access not being allowed to MediaAccessControlHandler
Comment #11
gabesulliceWhoops, actually still needs work because of the comment, then it can be RTBC.
Comment #12
wim leersFor #10, I created #2969493: MediaTest::testPatchIndividual() and MediaTest::testDeleteIndividual() failing on 8.6.
Comment #13
wim leersAddressed #9.
Will re-RTBC once this passes against 8.6, i.e. once #2969493: MediaTest::testPatchIndividual() and MediaTest::testDeleteIndividual() failing on 8.6 lands.
Comment #14
wim leers#2969493: MediaTest::testPatchIndividual() and MediaTest::testDeleteIndividual() failing on 8.6 just landed, queuing a 8.6 test of #13.
Comment #15
wim leersGreen on both 8.5 & 8.6!
Comment #17
wim leersCrediting @dawehner because he suggested it (see IS).
Comment #19
wim leers