jonsamwell / ngx-http-batcher

Angular (2+) HTTP batching module to reduce the number of HTTP requests and increase performance
MIT License
4 stars 1 forks source link

Multi-fetch adapter #4

Closed mchapman closed 6 years ago

mchapman commented 6 years ago

Thanks for this project (and the corresponding AngularJS one).

My express backend is used by an Angular JS web client and an ionic 2+ app. It seemed to me that meant I needed to use the multi-fetch adapter which you provide for Angular JS and roll my own for Angular. (If you can see a better option you are welcome to let me know)

I have got it working for my purposes at the moment in this branch and can submit a pull request if you would welcome it. I haven't submitted one straight away partly because I haven't yet deployed and partly because there are some bits that look a bit hacky (such as this)

mchapman commented 6 years ago

Closing as I managed to conflate it with another PR as I still don't understand Git very well.