opened
practual
username_0
## Description

When checking for 'dotted' source nested values prior to serializer create or update, the problematic fields are not being identified correctly.

In the example given in the code comment, the validated data would look like `{'profile': {'address': '10 downing street'}}` but the code is currently checking for key 'address' in the dict.
Check source attrs when checking for nested writes.
issue
created
xordoquy
username_1
I'm closing this because it breaks things and the change is not clear at all and feels like an usage issue.
Could we start this either with a more in depth explanation of the issue or a test case demonstrating it ?
comment
created
practual
username_0
Re-raised as https://github.com/encode/django-rest-framework/pull/5212
comment