Skip to content

Fix nested write of non-relational fields #6916

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 3, 2019

Conversation

tselepakis
Copy link
Contributor

Description

Continuing work started in #6741 . This MR fixes dotted write and adds the related tests.

@tselepakis tselepakis changed the title Nested json serializer Fix nested write of non-relational fields Sep 5, 2019
@tselepakis tselepakis force-pushed the nested-json-serializer branch from 2b512c0 to 981fb4c Compare September 5, 2019 21:28
@tselepakis tselepakis force-pushed the nested-json-serializer branch from 981fb4c to 2d52a0f Compare September 5, 2019 21:49
Copy link
Member

@rpkilby rpkilby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This largely looks good to me, save some small nitpicks.

* no need to change `raise_errors_on_nested_writes` signature
* declare nested-model outside of the test class
@tselepakis tselepakis force-pushed the nested-json-serializer branch from 8b9797c to 3801ef7 Compare September 6, 2019 05:56
Copy link
Member

@kevin-brown kevin-brown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Approving without merging.

@tselepakis
Copy link
Contributor Author

Hi all, any chance on adding this in next release? We are stuck to 3.9.4 due to this issue. Do we have something pending?

@rpkilby
Copy link
Member

rpkilby commented Oct 3, 2019

Do we have something pending?

Was waiting for other members to review, but this is good to go.

@rpkilby rpkilby merged commit 30e56f6 into encode:master Oct 3, 2019
@auvipy
Copy link
Member

auvipy commented Oct 4, 2019

hope to see this in 3.10.x

@tselepakis
Copy link
Contributor Author

Do we have something pending?

Was waiting for other members to review, but this is good to go.

Great news. Thanks for the help and feedback @rpkilby .

@rpkilby
Copy link
Member

rpkilby commented Oct 4, 2019

There should be another 3.10.x release before ~December (3.11 should roughly correspond with Django 3.0's release).

pchiquet pushed a commit to pchiquet/django-rest-framework that referenced this pull request Nov 17, 2020
sigvef pushed a commit to sigvef/django-rest-framework that referenced this pull request Dec 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants