ember-api-actions icon indicating copy to clipboard operation
ember-api-actions copied to clipboard

feat: adapterOptions

Open mrloop opened this issue 4 years ago • 1 comments

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

mrloop avatar Mar 22 '21 20:03 mrloop

friendly ping @mike-north @Turbo87 @alexlafroscia

sandstrom avatar Jun 09 '21 12:06 sandstrom