Skip to content

Delete route always requires a resource request class when it should be optional #23

@lindyhopchris

Description

@lindyhopchris

At the moment the delete route always expects there to be a resource request class, e.g. PostRequest. This is so that it can validate the delete request. However, implementing delete validation logic is entirely optional. Therefore, the delete route should work even when there isn't a resource request. It should just assume the deletion is allowed as the route has been registered and authorized by the time the deletion validation is attempted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions