You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
general idea is to simply change both usePatchData and useUpdateData to a simpler checkRequestData, and use casl's possible-rules-for function to check if rules exist for the current method and run the check if any rule exists.
this helps extend the functionality to include custom methods
The text was updated successfully, but these errors were encountered:
Update checkData to support custom methods
general idea is to simply change both
usePatchData
anduseUpdateData
to a simplercheckRequestData
, and use casl's possible-rules-for function to check if rules exist for the current method and run the check if any rule exists.this helps extend the functionality to include custom methods
The text was updated successfully, but these errors were encountered: