-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Serializers (data_of_obj) and deserializers(obj_of_data) don't have to be aligned in many contexts.
But most of the time, mapping operations will get in trouble if key transformers are not aligned.
I propose to develop a few tools that will mitigate this problem:
- validation functions that can be run to diagnose alignment
- key_transformers that have some memory (cache_keys) so that, given one direction, the other can by "computed" simply by keeping a ledger of
key->_idor/and_id->keyand applying the map when asked to "compute" a key transformation.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request