Skip to content

Make error pointers work with key transformations. #58

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stas
Copy link
Owner

@stas stas commented Aug 4, 2021

What is the current behavior?

Error pointers are blank when using set_key_transform in the serializer.

What is the new behavior?

Fixes #56

Checklist

Please make sure the following requirements are complete:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes /
    features)
  • All automated checks pass (CI/CD)

@stas
Copy link
Owner Author

stas commented Aug 4, 2021

@bsylvain this little patch should fix the issue. Thanks for raising the issue!

@MirkoC
Copy link

MirkoC commented Dec 31, 2024

@stas How come this was never merged? I have run into similar problem and I need a fix like this to continue using the library.

Could this be merged or?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error message have a blank value in the pointer field for model attributes with a underscore
2 participants