optimizely / swift-sdk

Swift SDK for Optimizely Feature Experimentation and Optimizely Full Stack (legacy)
https://www.optimizely.com/products/full-stack/
Apache License 2.0
21 stars 30 forks source link

[FSSDK-9124] fix for ODP INVALID_IDENTIFIER_EXCEPTION code #488

Closed jaeopt closed 1 year ago

jaeopt commented 1 year ago

Summary

Support a new format for ODP InvalidIdentifierException (when SDK fetches segments with a non-registered userId).

       "extensions": {
            "code": "INVALID_IDENTIFIER_EXCEPTION",
            "classification": "DataFetchingException"
       }

Test plan

Add unit tests to cover the new response format.

Issues