restatedev / documentation

Restate documentation
https://docs.restate.dev
MIT License
5 stars 7 forks source link

Serialization guide for Typescript #448

Closed slinkydeveloper closed 1 month ago

slinkydeveloper commented 1 month ago

Fix #379

cloudflare-workers-and-pages[bot] commented 1 month ago

Deploying documentation with  Cloudflare Pages  Cloudflare Pages

Latest commit: e48d169
Status: ✅  Deploy successful!
Preview URL: https://520f9422.documentation-beg.pages.dev
Branch Preview URL: https://issues-379.documentation-beg.pages.dev

View logs

slinkydeveloper commented 1 month ago

The new page: https://4c0ea596.documentation-beg.pages.dev/develop/ts/serialization

gvdongen commented 1 month ago

Maybe we should add an example of a Serde implementation as well? Just to show the template? Since the serializer you use here is actually still integrated in the Restate SDK. For Python, I did this as follows: https://python-quickstart.documentation-beg.pages.dev/develop/python/serialization Or do you think that is too much?

slinkydeveloper commented 1 month ago

I think it's ok, it's a simple enough interface, people will figure out themselves, no need to overload the docs.

slinkydeveloper commented 1 month ago

What I think would help tough is serving the tsdocs, so we could link the Serde interface from here and one could immediately see how it looks like.