Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7k
Fix None UUID ForeignKey serialization#3936
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
carltongibson commentedFeb 16, 2016
As per@tomchristie'scomment this might not be the right fix. and
|
carltongibson commentedFeb 18, 2016
Right. Progress. Slapping a breakpoint in where@tomchristie said reveals the problem: In this case at least |
carltongibson commentedMar 13, 2016
Where a foreign key is null Thus in2ef74cf I resolve the I'm happy to adjust the formatting of the Otherwise I think this is probably the right fix. Thoughts? |
carltongibson commentedMar 22, 2016
Just milestoning this to keep it on the radar. |
xordoquy commentedMar 22, 2016
@carltongibson does this need a review ? |
carltongibson commentedMar 22, 2016
I think it's the right fix — but I'd be happy if you or@tomchristie could just think it through... — is there another case we've missed? (Or shall we handle that if/when it comes up) |
xordoquy commentedMar 22, 2016
It looks good to me. I don't see other cases. On a side note, I'd be interested in discussing the design (ping@tomchristie) esp. why this has to be in the serializer as opposed as@carltongibson's initial proposal - which was to handle that within the field. |
Fix None UUID ForeignKey serialization
xordoquy commentedMar 22, 2016
Nice job 👍 |
Replaces#3915