Is it possible to completely override the GET
method for a particular resource using server-side scripting?
We are looking at using stored procedures for as much of our CRUD operations as we can. Rather than have the implementation details on the client I want to use the Service.Resource.SELECT
, Service.Resource.INSERT
, Service.Resource.UPDATE
, and Service.Resource.DELETE
events to call the appropriate stored procedure from the API.
According to the docs these events fire BEFORE the call goes to the database. Is it possible to prevent the default call to the DB and instead issue my own API call via platform.api.GET\POST\PUT\DELETE
?