Problem/Motivation
With 3.x, I'm seeing this error when returning a bool from a JSON-RPC method:
Exception TypeError: "Drupal\jsonrpc\Handler::doExecution(): Return value must be of type Drupal\jsonrpc\JsonRpcObject\Response|array|string|int|null, true returned" at /var/www/html/web/modules/contrib/jsonrpc/src/Handler.php line 194
However, I think this should be acceptable. I've posted to the JSON-RPC mailing list and will confirm.
Issue fork jsonrpc-3475910
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
ptmkenny commentedComment #4
ptmkenny commentedAccording to Rast Lol on the JSON-RPC mailing list:
Comment #5
ptmkenny commentedComment #6
ptmkenny commentedComment #8
ptmkenny commented