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
asString
nil
iOS 17.2
1.8.3
Xcode 15.2
Let's suppose we do have a struct representing a form:
struct MyForm: Encodable { let numbers: [Int] }
if we create a HTTPBody object by passing an instance of MyForm:
HTTPBody
MyForm
let form = try! HTTPBody.form(object: MyForm(numbers: [1, 2, 3]))
calling form.asString always returns nil.
form.asString
form.asString should returns a String representing the MyForm instance we have passed.
form.asString always returns nil.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Platform Version
iOS 17.2
SDK Version
1.8.3
Xcode Version
Xcode 15.2
Steps To Reproduce
Let's suppose we do have a struct representing a form:
if we create a
HTTPBody
object by passing an instance ofMyForm
:calling
form.asString
always returnsnil
.Expected Behavior
form.asString
should returns a String representing theMyForm
instance we have passed.Actual Incorrect Behavior
form.asString
always returnsnil
.The text was updated successfully, but these errors were encountered: