Skip to content

Support structural changes between source model and serialized object #8782

Discussion options

You must be logged in to vote

Thanks for this @JPDSousa.

As per my comment on #6345:

I think likely this (even just making the set_value hook overridable) is adding an extra complexity that's not worth it.
I think asking you to implement to_internal_value is not too much to save that for this case.

More or less, so few people need this that for me it's not worth the overhead of adding it. Even a hook would need documentation, and would force each user to understand it, and decide whether or not it would apply to them, which almost certainly it wouldn't

That, prior to your comment, the issue was dormant since 2018 tells us what we need to know. 🙂

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@JPDSousa
Comment options

Answer selected by tomchristie
Comment options

You must be logged in to vote
4 replies
@JPDSousa
Comment options

@carltongibson
Comment options

@JPDSousa
Comment options

@auvipy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants