deepkit / deepkit-framework

A new full-featured and high-performance TypeScript framework
https://deepkit.io/
MIT License
3.2k stars 123 forks source link

Support for marshal.ts #63

Closed ukarlsson closed 3 years ago

ukarlsson commented 4 years ago

We were using marshal.ts before, what is the plan going forward with this project, is it still something supported? Is there documentation for marshal.ts still available?

Thanks

marcj commented 4 years ago

is it still something supported

Absolutely. Marshal is the very core of this framework, and makes all of that possible. So it definitely will be around for a long time. It's named meanwhile @deepkit/type and has many more features and performance improvements. Will be released together with a new docu, website, and the whole framework soon.

Is there documentation for marshal.ts still available?

Yes, documentation of marshal is still here https://marshal.marcj.dev/.

ukarlsson commented 4 years ago

Thanks, really looking forward to trying out the entire framework! It may be good to link to the docs somewhere :)

marcus-sa commented 4 years ago

@marcj is @deepkit/type gonna be published to NPM anytime soon?

marcj commented 4 years ago

@marcus-sa yes. I think in one or two weeks already I'm going to publish the first beta.

ukarlsson commented 4 years ago

Ok looking forward to trying the beta. Is it compatible in terms of API with marshal.ts or will it require changes except switching the package?

marcj commented 4 years ago

@ukarlsson There are a couple of name changes, but nothing too dramatic.

ukarlsson commented 3 years ago

Hello, I saw that there is an alpha. Is it possible to use deepkit-framework instead of marshal.ts now? How is the stability of @deepkit/type versus marshal.ts, would it be ready to use? :)

marcj commented 3 years ago

@ukarlsson yes, it is useable now. Working at the moment on the new website including documentation, so until then you're on your own, although it's not fundamentally different to Marshal's API, so its documentation might help still. For the remaining stuff you should look at the type definitions, I tried to add more docblocks.

marcj commented 3 years ago

How is the stability of @deepkit/type versus marshal.ts, would it be ready to use? :)

@deepkit/type is much more stable since we added more tests and bug-fixes meanwhile that Marshal did not get. I don't plan to change its API anymore, so should be ready to use! :)

ukarlsson commented 3 years ago

Thanks, we are trying to migrate to it now!

Rush commented 3 years ago

@marcj one of the maintainers of Nest recommended @deepkit/type to me. Let's get rid of class-transformer :)

marcj commented 3 years ago

I think every was covered in this issue, so I'm closing it.