typescript-rest icon indicating copy to clipboard operation
typescript-rest copied to clipboard

Client implementation ?

Open raphaeljolivet opened this issue 7 years ago • 2 comments
trafficstars

Hi,

Is there a support for client implementation ? I would like to be able to declare an interface, annotated for the declaration of the REST API and then :

  • Implement it on server side
  • Instantiate a client, on client side, in order to be able to call it like a function, without caring about REST at all.

Also it would be really great for Isomorphic apps, as it would enable to call the same api functions on server and client.

raphaeljolivet avatar Aug 08 '18 11:08 raphaeljolivet

I really like the idea. Accepting PR

thiagobustamante avatar Dec 27 '18 13:12 thiagobustamante