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
in the before we change the $cmd delete to update... updating the "deleted" column to a current date value.... in the column_authorizer we filter out the "deleted" column, so we don't show it in our results
But because the applyBeforeHandler is called before the applyColumnAuthorizer
the "deleted" column gets filtered out... Now the row column deleted will never be set to the current_date.. and so it will never be softdeleted neither will it be harddeleted.
A solution would be is to call the applyBeforeHandler after the applyColumnAuthorizer..
The text was updated successfully, but these errors were encountered:
Hi there,
yesterdays updated raised an error working with softdeletes like the example:
in the before we change the $cmd delete to update... updating the "deleted" column to a current date value.... in the column_authorizer we filter out the "deleted" column, so we don't show it in our results
But because the applyBeforeHandler is called before the applyColumnAuthorizer
the "deleted" column gets filtered out... Now the row column deleted will never be set to the current_date.. and so it will never be softdeleted neither will it be harddeleted.
A solution would be is to call the applyBeforeHandler after the applyColumnAuthorizer..
The text was updated successfully, but these errors were encountered: