mrlegowatch / GarageStorageSwift

A Swift implementation of GarageStorage. Provides a convenient way to store any kind of data in a repository backed by Core Data.
MIT License
8 stars 1 forks source link

Generalize gs data nil check to MappableObject #33

Closed mrlegowatch closed 2 months ago

mrlegowatch commented 2 months ago

The initial gs_data nil check was added only to the Codable implementation, to work around a data race that was corrupting gs_data. That check has been confirmed as working in client code, so is now being extended to the MappableObject implementation.