-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Currently if the server returns a value for an enum that isn't recognised, the (objective-C) fickle code will default the enum to the first value.
Possible solutions:
- Throw an exception if an unknown enum value is encountered. (Downside of this approach is that, if the message contains a list of objects and one object fails due to an invalid enum, the entire message would be discarded).
- Automatically generate an "unknown" value on the client side for all enums. (This approach would allow the client to decide what to do on a per enum basis).
Metadata
Metadata
Assignees
Labels
No labels