[NEW FEATURE] Robust enum handling in v0.19.0.64

The handling of unknown enum values has been improved as of v0.19.0.64.

In previous versions, a serialization exception would be thrown if the API response contained a value for an enum property that was not a member of the enum type known to the SDK. It would also throw an exception if the string value did not exactly match the case of the documentation.

As of v0.19.0.64, a new member has been added to all enums and is named OutdatedSdkVersion. If your application ever encounters this enum member, it means that the server has sent a value that is not in your version of the SDK and that your application should be updated to the latest version of the SDK to handle the new value.

1 Like