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
264 stars 109 forks source link

Make id and type readonly accessible to outside classes #180

Open ryancarlson opened 7 years ago

ryancarlson commented 7 years ago

Make the dictionary accessible too.

The rationale is to be able to make associations to related objects based on their id value w/o having to retrieve the whole object in an include.

ryancarlson commented 7 years ago

@wvteijlingen , any thoughts on this?