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

fixes #142 #143

Closed Cbieniak closed 7 years ago

Cbieniak commented 7 years ago

Previously the wrongly named variable was causing all resources to be unlinked

wvteijlingen commented 7 years ago

Wow, big bug! Thanks for the PR. We should really have some better tests for this.