django-rest-framework-json-api
django-rest-framework-json-api copied to clipboard
fixes attribute naming in filter backend and AutoSchema
Fixes #
Description of the Change
Checklist
- [x] PR only contains one change (considered splitting up PR) ~- [ ] unit-test added~ ~- [ ] documentation updated~
- [x]
CHANGELOG.md
updated (only for user relevant changes) - [x] author name in
AUTHORS
@jokiefer Wanted to follow up whether you are still interested in working on this PR?
I had some time at hand and wanted to make sure that this PR lands in the next version (which is hopefully released soon, waiting for DRF to release a new version supporting Django 4.1). I added a test and made minor adjustments to the PR.
When adding the test, I noticed that there was actually an error in the code. It called format_field_names
instead of format_field_name
so this did not work. Once again, a great example of how important tests are.
Anyway. Thanks for bringing this up and working on it.