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
Some of our projects generated via BUCK have a plist encoding so the property looks like:
<key>defaultConfigurationIsVisible</key>
<false/>
instead of something like:
defaultConfigurationIsVisible = 0;
This causes the JSON encoder to encode the property as a boolean instead of a string, so the JSON decoder fails to decode that boolean properly since it thinks it's a string
What 🌱
This error is thrown when trying to decode defaultConfigurationIsVisible
error: typeMismatch(Swift.String, Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "defaultConfigurationIsVisible", intValue: nil)], debugDescription: "Expected to decode String but found a number instead.", underlyingError: nil))
Context 🕵️♀️
Some of our projects generated via BUCK have a plist encoding so the property looks like:
instead of something like:
This causes the JSON encoder to encode the property as a boolean instead of a string, so the JSON decoder fails to decode that boolean properly since it thinks it's a string
What 🌱
This error is thrown when trying to decode
defaultConfigurationIsVisible
Proposal 🎉
#593
The text was updated successfully, but these errors were encountered: