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

Deprecated support for django-polymorphic resources #1303

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
n2ygk merged 1 commit into django-json-api:main from sliverc:deprecate_polymorphic
Sep 24, 2025

Conversation

Copy link
Member

@sliverc sliverc commented Sep 23, 2025

Description of the Change

I have started discussion #1194 almost two years ago in terms of Django Polymorphic support in DJA and what it is used for. I have pinged people in the different PRs and issues about Polymorphic. The only response I got is at #1087 (comment), but otherwise no feedback.

My feeling is that either Django Polymorphic support in DJA is not really used or people are not aware of the surrounding discussion.

The goal of deprecation is that users who use it will become aware of the discussion, and we get a group of people who hopefully will be able to work on Django Polymorphic support in an external library.

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 in AUTHORS

Desired for Django Polymorphic support to be added in an external
3rd party library in case there is a demand and someone is to be
found who will take the lead.
Copy link
Member Author

sliverc commented Sep 23, 2025
edited
Loading

@n2ygk Please let me know what you think about this deprecation strategy before you merge, whether you think that is a good way forward or have any other suggestions? Thanks.

Copy link
Contributor

n2ygk commented Sep 24, 2025

It seems like a very lightly used feature if at all and pretty impactful in terms of added DJA support complexity. It's not even clear from #1087 (comment) whether @Elawphant is still relying on it (past tense use of "was").

The deprecation warnings are certainly the best way to get anyone's attention to determine the potential impact. I'm OK with merging this as is. Let me know if you want me to go ahead.

Copy link
Member Author

sliverc commented Sep 24, 2025

Good that we are on the same page. Let's go ahead and merge it then.

@n2ygk n2ygk merged commit e552413 into django-json-api:main Sep 24, 2025
9 checks passed
@sliverc sliverc deleted the deprecate_polymorphic branch September 24, 2025 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@n2ygk n2ygk n2ygk 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.

2 participants

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