Skip to content

DTO model not validated before transforming #3261

@ro0NL

Description

@ro0NL

API Platform version(s) affected: 2.5.1

When using input + DataTransformerInterface, as explained per https://api-platform.com/docs/core/dto/#updating-a-resource-with-a-custom-input the received DTO model (deserialized user input) is not validated using the Validator service.

it feels like a bug 🤔 filed as such.

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