We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enumUndecodableCase
Hello,
When using the option enumUndecodableCase, we will use the unknown case when a value is not recognised by the data mapping generated code. #141 #135
unknown
How can I know the value that was not recognised? Is there any way?
Right now we have:
struct PaymentMethod { enum Type { case creditCard case unknown } let type: Type }
Would be possible to have something similar to this?
struct PaymentMethod: String { enum Type { case creditCard case unknown(_ value: String) } let type: Type }
Thanks a lot.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
When using the option
enumUndecodableCase
, we will use theunknown
case when a value is not recognised by the data mapping generated code.#141
#135
How can I know the value that was not recognised? Is there any way?
Right now we have:
Would be possible to have something similar to this?
Thanks a lot.
The text was updated successfully, but these errors were encountered: