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
singleValueContainer does not have container.decodeIfPresent
container.decodeIfPresent
struct Example__testing__ { let brand: Brand? let company: Company let omittedCompany: Company } extension Example__testing__: Decodable { init(from decoder: Decoder) throws { let container = try decoder.singleValueContainer() self.brand = try container.decodeIfPresent(Brand.self) self.company = try container.decode(Company.self) } }
The text was updated successfully, but these errors were encountered:
Thank you for the bug reported, I will include this fix in the upcoming minor update
Sorry, something went wrong.
See release https://github.com/mikhailmaslo/macro-codable-kit/releases/tag/0.3.1
No branches or pull requests
singleValueContainer does not have
container.decodeIfPresent
The text was updated successfully, but these errors were encountered: