Adds a new operation called COMMAND which is very similar to UPDATE, which one crucial difference: While UPDATE requires an updated entity as first argument is is agnostic about the resolved value which is returned, COMMAND is agnostic about its arguments and only cares about what is returned.
This should help when dealing with a less REST oriented API - you can just pass a command to it and the server's response will update the cache then.
Coverage increased (+0.006%) to 99.543% when pulling 412041125190d29d1c9b307f1485851edfd40f4f on command-operation into 987185bb2601db3c569ebbaa0a7881b288a5dbfe on master.
Adds a new operation called
COMMAND
which is very similar toUPDATE
, which one crucial difference: WhileUPDATE
requires an updated entity as first argument is is agnostic about the resolved value which is returned,COMMAND
is agnostic about its arguments and only cares about what is returned.This should help when dealing with a less REST oriented API - you can just pass a command to it and the server's response will update the cache then.
Documentation is not updated yet.