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

Avoid choices evaluation on relational fields getting field metadata #336

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 1 commit into django-json-api:develop from InvGate:fix_schema_choices_on_relations
Apr 14, 2017
Merged

Avoid choices evaluation on relational fields getting field metadata #336

mblayman merged 1 commit into django-json-api:develop from InvGate:fix_schema_choices_on_relations
Apr 14, 2017

Conversation

Copy link
Contributor

@santiavenda2 santiavenda2 commented Apr 2, 2017

On relation fields line 131 is getting all the related objects.

Copy link

codecov-io commented Apr 2, 2017
edited
Loading

Codecov Report

Merging #336 into develop will decrease coverage by 18.79%.
The diff coverage is 0%.

Impacted file tree graph

@@ Coverage Diff @@
## develop #336 +/- ##
===========================================
- Coverage 91.68% 72.88% -18.8% 
===========================================
 Files 50 50 
 Lines 2368 5676 +3308 
===========================================
+ Hits 2171 4137 +1966 
- Misses 197 1539 +1342
Impacted Files Coverage Δ
rest_framework_json_api/metadata.py 38.52% <0%> (+10.19%) ⬆️
rest_framework_json_api/pagination.py 50.57% <0%> (-41.93%) ⬇️
rest_framework_json_api/parsers.py 54.04% <0%> (-37.63%) ⬇️
example/models.py 59.65% <0%> (-35.17%) ⬇️
rest_framework_json_api/renderers.py 57.94% <0%> (-28.31%) ⬇️
example/settings/test.py 89.12% <0%> (-10.88%) ⬇️
rest_framework_json_api/mixins.py 81.94% <0%> (-5.56%) ⬇️
rest_framework_json_api/exceptions.py 83.42% <0%> (-1.19%) ⬇️
example/migrations/0001_initial.py 100% <0%> (ø) ⬆️
rest_framework_json_api/relations.py 84.86% <0%> (+1.78%) ⬆️
... and 1 more

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 d8c3dc4...e974fa0. Read the comment docs.

Copy link
Collaborator

Looks good to me. 👍

@mblayman mblayman merged commit d75fcbc into django-json-api:develop Apr 14, 2017
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 によって変換されたページ (->オリジナル) /