Replies: 1 comment 1 reply
-
So I found out there is an idiomatic way to do this. Example follows:
I also found some weirdness, where the value of the bool input (checkbox) needs to be "true" and the Field parsers's default need to be false. Otherwise it won't encode/decode the boolean. I'll leave it to you to figure out why. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear community,
The PointFreeRouter library in the pointfreeco repo contains a Conversion.form. This is useful to send FormData in codable form to the server and decode it there for further use.
I was wondering if there is any reason why this is not included in the swift-parsing library too? Considering the Conversion.json is here?
Beta Was this translation helpful? Give feedback.
All reactions