Comments (5)
Hey @dannyBies !
We're definitely interested in this! Our vNext Aurelia is fully TypeScript and we're investigating which of our vCurrent modules should move over to vNext. The first step in that is doing some TypeScript conversions. I think we'd love to have a vNext fetch client available out of the box, so it certainly makes sense to start with moving our vCurrent version to TypeScript. If you'd like to continue working on this, we'd be happy to accept a PR.
I haven't dug deeply into your setup in the linked repo. One of the important things will be to try to have the same sort of build setup as other vCurrent TS libraries, such as the new i18n TS branch, the dialog plugin or validation. Having the same setup makes it easier for us to publish consistently and also paves the way for more easily moving to our vNext monorepo.
If this all sounds good, please proceed with this conversion work and if you enjoy that, I think we can find more opportunities for you to help out in this and other ways related to TypeScript as well. Thanks!
from fetch-client.
@EisenbergEffect Sounds good to me! I'll keep working on it and when it's ready for review I'll open a PR.
I have based most of the setup on the i18n TS branch as I thought it would be most up to date to the standards, luckily I made the right assumption :)
from fetch-client.
Awesome! Looking for to seeing the PR. While you are working on that, if you can, keep an eye on the other issues on this repo in case some other fixes are made during the conversion work. There's an issue right now related to AbortSignal types in particular to keep an eye on. I think it's just a config issue and probably even fixed in your branch. But, just in case, we want to be careful we don't introduce regressions during the port.
from fetch-client.
Yeah I'll make sure I implement any fixes that occurred after I branched off. The AbortSignal issue should be fixed in my branch but I'll make sure to test it after I have a stable branch.
from fetch-client.
TS version merged in.
from fetch-client.
Related Issues (20)
- Add support for AbortSignal HOT 2
- unable to modify request header using an interceptor HOT 6
- ReadableStream uploading is not supported (Safari 11.1.1) HOT 7
- Cannot find name 'AbortSignal' HOT 5
- HTTP methods must be upper case HOT 2
- call trackRequestEnd when fetch fails HOT 8
- invalid type definition for RetryInterceptor HOT 3
- Version 1.8.0 does not work in Android Cordova App HOT 7
- version 1.8.0 generates infinite loop with retry configured to 0 HOT 2
- Version 1.8.1 "cannot find module 'aurelia-fetch-client'" HOT 3
- Is this package version number following semver? HOT 5
- config.rejectErrorResponses - lots of console warnings HOT 6
- Fetch attempts fail with TypeError on Safari 10.1 HOT 1
- Broken typings? HOT 1
- Question - json()'s benefit of converting to Blob HOT 17
- setting no-cors mode affecting content-type header behaviour
- Interceptor.responseError question HOT 5
- Fetch client doesn't like array assignment of JSON data HOT 1
- Feature request: Add aurelia-fetch-client-requests-drained event. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fetch-client.