Handling Different Response Types with Schemas in Effect Typescript
How do you use Schemas in a situation where say a request has a param that changes the resulting response type from JSON to CSV?
I have a schema defined for JSON responses, and it works, but if i change the request to CSV, it will fail.
I have a schema defined for JSON responses, and it works, but if i change the request to CSV, it will fail.
