eManPrague / frui.ts

Pragmatic MVVM frontend framework
MIT License
14 stars 5 forks source link

Replace class-transformer #46

Open gius opened 2 years ago

gius commented 2 years ago

https://deepkit.io/library/type

gius commented 2 years ago

We need:

gius commented 2 years ago

Transformation is supported:

Rename should be handled after serialization / before deserialization: https://github.com/deepkit/deepkit-framework/issues/21

Exclude is supported: https://github.com/deepkit/deepkit-framework/blob/master/packages/benchmark/src/type/serialization/medium-deepkit.bench.ts#L47

External schema definition: https://github.com/deepkit/deepkit-framework/issues/51

gius commented 1 year ago

https://github.com/GillianPerard/typescript-json-serializer

gius commented 1 year ago

We could also use Zod and then apply mobx's autoObservable.