-
Notifications
You must be signed in to change notification settings - Fork 272
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
djangorestframework_camel_case.camelize_serializer_fields does not handle "ignore_keys" #945
Comments
good catch! looks like a bug and not expected behavior. I think this was kind of working before, but broke with bugfixing another issue. we used yes, PR a is welcome. code is here: |
@tfranzel It could be a possible solution for the issue with "ignore_keys". But djangorestframework_camel_case also handles "ignore_fields" and it needs to be solved too. I could not run tests locally because of
|
sry about that GDAL thing. I need to find a mitigation for that. Can't expect anyone to install uncomment this line and the tests should run (exept of course the 2 GIS tests): drf-spectacular/tests/conftest.py Line 23 in 6300b12
|
|
@tfranzel Ok, I will try when having some time |
…re_fields" #945 Thx to @tomashchuk for raising the issue and providing part of the fix Co-authored-by: tomashchuk <[email protected]>
closed with release |
drf_spectacular.contrib.djangorestframework_camel_case.camelize_serializer_fields does not handle "ignore_keys"
Define for example
then add
Actual behavior
{"version8test": 4294967295}
Expected behavior
{"version_8test": 4294967295}
Let me know if it is expected behavior by default otherwise, I will create a PR with the fix.
The text was updated successfully, but these errors were encountered: