ember-api-actions
ember-api-actions copied to clipboard
feat: adapterOptions
Allows api actions to take an optional options object. If you pass an
object on the adapterOptions property of the options argument it will be
passed to your adapter via the snapshot.
Relies on #506 - this is first commit in this PR. This PR will be easier to review once #506 is merged.
Similar to ember data Store and Model functions, for example https://api.emberjs.com/ember-data/3.25/classes/Store/methods/findAll?anchor=findAll https://api.emberjs.com/ember-data/3.25/classes/Model/methods/save?anchor=save
This is similar to #214 with tests.
Closes #214
friendly ping @mike-north @Turbo87 @alexlafroscia