Skip to content
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

Fix x-nullable on serializers with allow_null=True #566

Conversation

terencehonles
Copy link
Contributor

@terencehonles terencehonles commented Mar 28, 2020

This PR allows x-nullable on serializers. As originally implemented in #217 I believe this was too strict. The required instance_kwargs in this context are the fields that are required not if the field is required or not. According to the openapi spec the parent should be managing if the child is required and therefore this shouldn't even be checking field.required either.

@qweeze
Copy link

qweeze commented Apr 16, 2020

Any chance of merging this any time soon?

@terencehonles
Copy link
Contributor Author

Any chance of merging this any time soon?

I think @axnsan12 has either been burnt out or is affected by everything that's going on (directly or indirectly), since they haven't done anything with this repo since Feb

@axnsan12
Copy link
Owner

Makes sense to me, thanks.

@axnsan12 axnsan12 merged commit 19a309a into axnsan12:master Oct 25, 2020
@terencehonles terencehonles deleted the fix-x-nullable-on-serializers-with-allow-null branch October 26, 2020 17:43
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.

None yet

3 participants