Replies: 1 comment
-
Hey, I doubt it's possible to find something different from what we have already. Regarding the syntax, you'll either get decorators or a separate function to describe the schema. You may find this package useful: https://github.com/typestack/class-transformer As for me, I've stopped using automatic serialization / deserialization many years ago. We use automatic type generation based on API. Example tools:
And sometimes we create dedicated view-models manually. It's just my personal opinion and I don't represent any official Mobx view on that :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking for methods to easily serialize/deserialize the MobX classes.
I've noted https://github.com/mobxjs/serializr but it seems to require a completely different syntax and declaration of my state classes, which I'm unwilling to do.
I've found https://github.com/iyobo/uncircled which looks like its fits the bill more, but its very very sparse.
What are the recommendations? What am I missing?
Beta Was this translation helpful? Give feedback.
All reactions