Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294747

Rest module is limited by Request handler

$
0
0

The request handler does the following

<?php
// Invoke the operation on the resource plugin.
   
try {
     
$response = $resource->{$method}($id, $unserialized, $request);
    }
?>

This means that core rest can't deal with relationships. Most rest calls can be reworked into N step but certain cases can not. I came across this issue when starting to look at upgrading the services module and specfically variable get which of course become config get in d8. The signature for this should be endpath/config/name and this is not supported, of course this may be out of scope bu ideally $id should become N.


Viewing all articles
Browse latest Browse all 294747

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>