nicklandgrebe / active-resource.js

ActiveResource.js - API resource relational mapping in JavaScript
https://active-resource.js.org
MIT License
133 stars 20 forks source link

Separate the jQuery.ajax requirement #14

Closed pelted closed 6 years ago

pelted commented 7 years ago

I just stumbled on this looking at an alternative to rolling our own json-api client object serializer. Our backend is Rails so this looked great. The show stopper here is the reliance on jQuery for the ajax requests. We heavily use Vue.js with axios and our whole auth flow depends on that. Decoupling the request layer or allowing adapters for different options would be great.

nicklandgrebe commented 7 years ago

Thanks for the submission.

I'll make a formal task card for this, but know that this has been planned for awhile and is considered an urgent release. I'll update when I've released it On Thu, Jun 29, 2017 at 11:04 AM Chris Born notifications@github.com wrote:

I just stumbled on this looking at an alternative to rolling our own json-api client object serializer. Our backend is Rails so this looked great. The show stopper here is the reliance on jQuery for the ajax requests. We heavily use Vue.js with axios and our whole auth flow depends on that. Decoupling the request layer or allowing adapters for different options would be great.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nicklandgrebe/activeresource.js/issues/14, or mute the thread https://github.com/notifications/unsubscribe-auth/AFJrpEg4nkF3a3o9oHLb6We_Spzz4qutks5sI70FgaJpZM4OJcKX .

nicklandgrebe commented 6 years ago

This issue was solved in v1.0.0-alpha.1

https://www.npmjs.com/package/active-resource/v/1.0.0-alpha.1