Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fixes types in reverse m2m relationships #355

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
mblayman merged 4 commits into django-json-api:develop from Darkheir:develop
Jun 2, 2017
Merged

Fixes types in reverse m2m relationships #355

mblayman merged 4 commits into django-json-api:develop from Darkheir:develop
Jun 2, 2017

Conversation

Copy link
Contributor

@Darkheir Darkheir commented May 30, 2017

In case of reverse m2m relationships the wrong type was returned.

I created a test to reproduce this situation.

Copy link
Contributor Author

fixes #354

Copy link
Contributor Author

Darkheir commented May 30, 2017
edited
Loading

It seems that my new test triggers an error on Django 1.8 version.

The error is not on the lines added by my commits, but I will try to fix it

Copy link

codecov-io commented May 30, 2017
edited
Loading

Codecov Report

Merging #355 into develop will increase coverage by 0.04%.
The diff coverage is 100%.

Impacted file tree graph

@@ Coverage Diff @@
## develop #355 +/- ##
===========================================
+ Coverage 77.06% 77.11% +0.04% 
===========================================
 Files 50 50 
 Lines 6027 6038 +11 
===========================================
+ Hits 4645 4656 +11 
 Misses 1382 1382
Impacted Files Coverage Δ
example/serializers.py 100% <100%> (ø) ⬆️
example/models.py 66.95% <100%> (ø) ⬆️
example/tests/test_utils.py 100% <100%> (ø) ⬆️
rest_framework_json_api/utils.py 90.07% <100%> (+0.28%) ⬆️

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 ab4e1bd...cce737e. Read the comment docs.

Copy link
Collaborator

mblayman commented Jun 1, 2017

Hi, @Darkheir. Thanks so much for your contribution! The extra test coverage is really valued. I like the code that I see here. I'd like for all contributors to be recognized for their work so could you add your name to the AUTHORS file? The list of names is alphabetical by first name.

I'm happy to merge after that.

Copy link
Contributor Author

Darkheir commented Jun 1, 2017

Hi, thank you for your kind answer. I just added my name to the contributors.

Copy link
Collaborator

mblayman commented Jun 2, 2017

Great, thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /