Rik de Groot
Results
2
issues of
Rik de Groot
Add feature to use lambdas in `fields_mapping`s, when registering a mapping. Gives the flexibility to define a mapping using the source object in a typesafe manner. similar to the c#...
Add feature to indicate a function or cunstructor to use as model factory. Mutually exclusive with the fields_mapping. The `model_factory: Callable[[S], T]` will take a `source_obj` andshould return a `target_obj`...