Centeva / TypeScripter

A tool to generate Typescript classes from c# models.
MIT License
4 stars 5 forks source link

DataServiceGenerator should ignore CancellationTokens in method signatures #34

Open darrelbrown opened 5 years ago

darrelbrown commented 5 years ago

If the developer adds a CancellationToken parameter to a WebAPI method then ASP.Net will populate it with a token that will be used to cancel work after a web request is cancelled. The caller will never be able to populate this token so it should be skipped when generating the TS data call methods.