js-data-jsonapi
js-data-jsonapi copied to clipboard
Create Js-Data V3 Compatible Adapter
trafficstars
Js-data-http V3, has 3 variants, with Axios, without Axios uses Fetch and the Node version. In order to support these i suggest externalising the creation of the HTTP adapter variant to be used.
The variant to be used could be passed as a parameter:
- Dependency injection.
- or a value to indicate which variant to use.
Haven't decided which will approach to use yet but normally i think 1. would be best