For Unit test purposes (and by Swift global guidelines), all models should be structs (and not classes).
By converting every model to object to struct, we gain conformance to Equatable for free, allowing us to write tests quicker.
SDK users shouldn't be allowed to edit models after they retrieve them from the SDK.
For Unit test purposes (and by Swift global guidelines), all models should be structs (and not classes). By converting every model to object to struct, we gain conformance to
Equatable
for free, allowing us to write tests quicker.SDK users shouldn't be allowed to edit models after they retrieve them from the SDK.