You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: