Skip to content

Can add a hook method? #57

Description

@qibinlin

Feature Request

Is your feature request related to a problem? Please describe.

how do i add a hook method? : Such as modified_field, validate_delete, validate_field,validate_write

Describe the solution you'd like

1, When inserting or updating an entity, the validate_write method is triggered ;
2,When the entity field value is modified, the modified_field and validate_field method is triggered ;
3.When the entity field value is modified, there is a method such as orig() that returns the original record value before modification.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions