You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: