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

UniqueFieldsMixin validation optional for partial update #117

Merged
merged 3 commits into from
Oct 29, 2020
Merged

UniqueFieldsMixin validation optional for partial update #117

merged 3 commits into from
Oct 29, 2020

Conversation

robinchow
Copy link
Contributor

_validate_unique_fields now accounts for partial updates and does not attempt checks on fields if they've not been provided.

_validate_unique_fields now accounts for partial updates and does not attempt checks fields if they're not available
@codecov-commenter
Copy link

codecov-commenter commented Sep 7, 2020

Codecov Report

Merging #117 into master will decrease coverage by 0.44%.
The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #117      +/-   ##
==========================================
- Coverage   98.13%   97.68%   -0.45%     
==========================================
  Files           3        3              
  Lines         214      216       +2     
==========================================
+ Hits          210      211       +1     
- Misses          4        5       +1     
Impacted Files Coverage Δ
drf_writable_nested/mixins.py 97.54% <50.00%> (-0.48%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c29ee57...4a4bbbd. Read the comment docs.

@ruscoder
Copy link
Member

Hello @robinchow! Thanks for your contribution! Could you please add tests covering your logic to the PR?

@ruscoder ruscoder merged commit 1b89920 into beda-software:master Oct 29, 2020
@ruscoder
Copy link
Member

Thanks. Merged

@ruscoder
Copy link
Member

Available in 0.6.2

@robinchow
Copy link
Contributor Author

:) sweet, thanks! and thank you for your work on this library 👍

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.

3 participants