Replies: 1 comment
-
|
I don't think there is a reason for this. If somebody was looking to make a contribution this would make a good PR. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As described in the documentation about the local API for "Auth Operations" it is possible to pass a
reqexpress object into the local API call, that will be forwarded to all hooks. The documentation about the CRUD operations is missing this option, but for some of the operations it is also possible to pass in areqobject.The "create" operation offers to pass in a
reqobject:Unluckily this is only possible for "create", "find", "findVersionByID" or "findById", but not for "delete", "findVersions", "restoreVersion" or "update", e.g.:
Looking at the source, for e.g. "update" there is no
reqproperty like in "create".Is this intended, that only read operations are allowed to pass in a
reqobject, or is this possible a misalignment that can be fixed to allow all operations to pass areqobject?Beta Was this translation helpful? Give feedback.
All reactions