JSONHelper icon indicating copy to clipboard operation
JSONHelper copied to clipboard

Request: Changing Deserializable to require init? as oppose to init

Open peymanmortazavi opened this issue 9 years ago • 1 comments

When deserializing, I might pass a completely irrelevant object to init of a deserializable object and they have to handle it. having the option to return nil and say there are not enough information to initialize this object would be great specially since <-- operator does return an optional anyway.

┆Issue is synchronized with this Asana task

peymanmortazavi avatar Jul 20 '16 17:07 peymanmortazavi

Makes sense. I will commit this change soon.

isair avatar Jul 20 '16 22:07 isair