MarcGrol / golangAnnotations

Go package that provides annotations for golang to speedup web development
MIT License
345 stars 40 forks source link

Typescript-lib web client generation #15

Open robfordww opened 2 years ago

robfordww commented 2 years ago

This is more of a feature request or an open question about whether or not a client lib generator for typescript exists or is planned; similar to what is provided by https://github.com/webrpc/webrpc. My preference to this project over webrpc is that it is a code-first approach rather than a schema-first approach. However, it appears that the developer must create the client-side web library in order to communicate with the backend smoothly.

MarcGrol commented 2 years ago

What about the following solution?

Using this approach we satisfy not just your specific typescript case, but many client use-cases.