Support nullable ListFields with django-rest-framework#78
Support nullable ListFields with django-rest-framework#78browniebroke merged 4 commits intodjango-commons:mainfrom
Conversation
|
@Rmvandiepen Hey, I very much appreciate the PR! I'm hoping to take some time at DjangoCon US this week during sprints to catch up on merges. Didn't want you to think I was ignoring you! |
|
@rptmat57 @melvinkcx This is a PR for |
|
same, looks good! |
# Conflicts: # drf_excel/fields.py
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #78 +/- ##
=======================================
Coverage ? 92.87%
=======================================
Files ? 4
Lines ? 351
Branches ? 0
=======================================
Hits ? 326
Misses ? 25
Partials ? 0 ☔ View full report in Codecov by Sentry. |
browniebroke
left a comment
There was a problem hiding this comment.
I've merged in latest chanegs from the main branch and expended the new test suite to cover this extra case, which made me realised that the empty list case wasn't covered
|
Thanks a lot for your contribution and your patience 🎉 |
As mentioned in #61 it doesn't work when a ListField has a null value in it.
This should fix that 🥳