mirror of
https://github.com/bitechdev/ResolveSpec.git
synced 2026-10-02 03:22:09 +00:00
feat(security): exclude hidden/masked columns from create and update payloads
This commit is contained in:
@@ -596,6 +596,9 @@ func (h *Handler) executeUpdate(ctx context.Context, schema, entity, id string,
|
||||
Data: updates,
|
||||
Tx: h.db,
|
||||
}
|
||||
if err := h.hooks.Execute(BeforeHandle, hookCtx); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
var updateResult interface{}
|
||||
err = h.runInTx(ctx, hookCtx, func(tx common.Database) error {
|
||||
|
||||
Reference in New Issue
Block a user