wvteijlingen / Spine

A Swift library for working with JSON:API APIs. It supports mapping to custom model classes, fetching, advanced querying, linking and persisting.
MIT License
266 stars 109 forks source link

Ability to delete multiple objects #171

Open markst opened 7 years ago

markst commented 7 years ago

Currently DeleteOperation only supports deleting one object.

It would be good to support deleting multiple objects since a query can be constructed with multiple ids: let query = Query(resourceType: Group.self, resourceIDs: selectedGroups.flatMap {$0.id} )

markst commented 7 years ago

I'm working on a operation now.