This patch was authored by @wibed and released by @tanner0101.
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.
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))