Legacy Dev Forum Posts

 View Only

Sign Up

[NEW FEATURE] Robust enum handling in 0.30.1.83

  • 1.  [NEW FEATURE] Robust enum handling in 0.30.1.83

    Posted 06-05-2025 18:07

    tim.smith | 2016-10-25 15:50:55 UTC | #1

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

    In previous versions, a value error 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.30.1.83, a new value has been added to all enums and is named outdated_sdk_version. If your application ever encounters this enum value, 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.


    system | 2017-08-28 19:28:09 UTC | #2


    This post was migrated from the old Developer Forum.

    ref: 537