Skip to content

Add validation for foreign key on delete #62

@javier-godoy

Description

@javier-godoy

When an entity cannot be deleted because it's referenced from another entity, a call to delete in the business layer will fail (propagating the exception from the persistence layer). It is desirable to have a mechanism that facilitates implementing a Validator for this scenario, so that the exception message can be written in business terms and/or the Validator can be leveraged in the UI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions