You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed in #1214 there is an issue with SparseFieldsetsMixin serializer mixin. It drops fields when reading and writing, however it should only do it when reading and not when writing as per specification.
When analyzing the code, it seems the best to implement is to move the exclude logic from __init__ and overwrite _readable_fields.
Description of the Bug Report
As discussed in #1214 there is an issue with
SparseFieldsetsMixin
serializer mixin. It drops fields when reading and writing, however it should only do it when reading and not when writing as per specification.When analyzing the code, it seems the best to implement is to move the exclude logic from
__init__
and overwrite_readable_fields
.Related to #1053
Checklist
The text was updated successfully, but these errors were encountered: