Title: Handling Asynchronous Validation in Effect Typescript Schema
I have a schema that needs to fetch external data when in validation. This data is being parsed by the
Here's what the async schema code looks like:
Here's what the code that runs the
Here's the final output of the program:
Is there something I'm doing wrong? Do I need to handle the decode process differently?
HttpClientResponse.schemaBodyJson method and I'm getting an error of: AsyncFiberException: Fiber #0 cannot be resolved synchronously. This is caused by using runSync on an effect that performs async workHere's what the async schema code looks like:
Here's what the code that runs the
HttpClientResponse.schemaBodyJson looks like:Here's the final output of the program:
Is there something I'm doing wrong? Do I need to handle the decode process differently?
