js-data-jsonapi icon indicating copy to clipboard operation
js-data-jsonapi copied to clipboard

Create Js-Data V3 Compatible Adapter

Open BlairAllegroTech opened this issue 9 years ago • 0 comments
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:

  1. Dependency injection.
  2. 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

BlairAllegroTech avatar Jun 07 '16 21:06 BlairAllegroTech