ts-retrofit
ts-retrofit copied to clipboard
A declarative and axios based retrofit implementation for JavaScript and TypeScript.
Hello, I'm raising this PR to update the axios dependency to the latest version. Versions prior to 1.6 have an associated security vulnerability, which make it difficult to justify ts-retrofit...
… requests Fixes #50 and a couple of related minor issues I can also see that the same issues may apply to the the @Field and parts resolver, but have...
Given an endpoint has optional args mapped to query or header params... ```typescript @GET("/something") @Queries({ ping: 'pong' }) async getSomethingWithOptionalQuery(@Query('since') since?: string, @QueryMap filters?: Record): Promise { return {} };...
I get `[SyntaxError: 37:36:unrecognized character '@']` whenever i use `@Path` 
2.2.2 cannot be downloaded with npm/yarn
hello dear how I can pass AxiosRequestConfig as a parameter to services?
hello dear Do this module support AbortController and signal config like this ? ``` const controller = new AbortController(); axios.get('/foo/bar', { signal: controller.signal }).then(function(response) { //... }); // cancel the...
After npm install or yarn add, there are only "LICENSE.txt", "package.json","README.md" files in node_modules ts-retrofit2 dir
can we use axios-retry with this libary? I couldn't figure out how to do it.
Hello everybody! The example code, in the documentation, for ResponseTransformer decorator is wrong: https://github.com/nullcc/ts-retrofit#responsetransformer Best regards and have a nice day, Daniele