Movatterモバイル変換


[0]ホーム

URL:


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

Ensured thatinclude param is properly underscored#1283

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

Merged
n2ygk merged 1 commit intodjango-json-api:mainfromsliverc:includes_formatting
Jul 14, 2025

Conversation

sliverc
Copy link
Member

@slivercsliverc commentedJul 14, 2025
edited
Loading

Fixes#203
Fixes#871

Description of the Change

include query parameter can be in a different formats likedasherized whenJSON_API_FORMAT_FIELD_NAMES is set. In some cases, this was not taken into account when reading theinclude parameter. I have moved the logic of underscoring into theget_included_resources so it will be correctly processed in all use cases.

Checklist

  • PR only contains one change (considered splitting up PR)
  • unit-test added
  • documentation updated
  • CHANGELOG.md updated (only for user relevant changes)
  • author name inAUTHORS

@slivercsliverc requested a review fromn2ygkJuly 14, 2025 13:14
@n2ygkn2ygk merged commit87108d4 intodjango-json-api:mainJul 14, 2025
9 checks passed
@slivercsliverc deleted the includes_formatting branchJuly 14, 2025 16:06
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@n2ygkn2ygkn2ygk approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

inflection is not performed by AutoPrefetchMixin for included resources Reverse the relationship names in includes
2 participants
@sliverc@n2ygk

[8]ページ先頭

©2009-2025 Movatter.jp