Handling User Input and API Requests with Decode and Encode

When working with a schema for form validation + api request, is it the right approach to
decode
the input from the user and then call encode again when sending the data to the API?

No sure about the double parsing
decode
+ encode here 🤔
Was this page helpful?