swift
f90827e1
- Codable: excluded vars shouldn’t need explicit val
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
8 years ago
Codable: excluded vars shouldn’t need explicit val Properties of Codable types which are optional and excluded via the CodingKeys enum should not require an explicit nil assignment, since in all other cases, optional vars get a default value of nil.
References
#11854 - Codable synthesis: excluded vars shouldn’t need explicit value assignments
Author
Itai Ferber
Committer
Itai Ferber
Parents
12841a98
Loading