Plans to Improve Type-Safety for `setPath` Method in Effect Typescript Library
Are the any plans to improve type-safety for the
As it stands right now the only way is to use
setPath method ensuring the listed path params are actually covered by the supplied schema?As it stands right now the only way is to use
HttpApiSchema.param('thingId', Schema.String) and inline that as a template literal such as this which is less ergonomic but at least guaranteed to be type-safe: