|Last commit: 3 days ago|
Allows for a boolean field to be stored as string.
.field("is_true", .string, .required)
Additionally it is now its separate type, together with the other types, instead of referring to an anonymous int for a return, which makes It cleaner.
Before: If the field type of a presumed boolean is set to string. it results in below error msg
typeMismatch(Swift.Bool, Swift.DecodingError.Context(codingPath: , debugDescription: "Could not initialize Bool from \"0\".", underlyingError: nil))