acquia / waterwheel.js

A generic JavaScript helper library to query and manipulate Drupal 8 via core REST and JSON API
https://github.com/acquia/waterwheel.js
233 stars 26 forks source link

feat(JSONAPI): Add a prefix option for use with JSONAPI #50

Closed infiniteluke closed 7 years ago

infiniteluke commented 7 years ago

Adds support for https://www.drupal.org/node/2838580. Depending on the version of the JSONAPI module being used, a different prefix could be required. api for older versions and jsonapi for future versions (part of 1.x-dev). This option makes that configurable.

If you prefer eslint rules to remain the same thats 👍.

mattgrill commented 7 years ago

@infiniteluke I know I didn't document this, but I've already taken care of this in https://github.com/acquia/waterwheel.js/pull/48/commits/78cefc4f49fbcc07e6330d5f61c7d72ff7fcb299. Thanks so much though. :)