Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Serializer] Pass a key property to NotNormalizableValueException #43999

Copy link
Copy link
Closed
@shude

Description

@shude
Issue body actions

Description

When we try to denormalize an object with type-hinted property with builtin type and it does not match we get an NotNormalizableValueException with message that contains a field name. Sometimes we want to get key of that field.
I suggest adding a property key to NotNormalizableValueException and just set it in ArrayDenormalizer.

Example

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.