effect
effect copied to clipboard
Build production-ready applications in TypeScript
### What is the problem this feature would solve? Some APIs rightfully respond with different payloads for the 2xx status code spectrum. Currently, the `HttpApi` module only accounts for a...
This comment will be updated with the ideas that we think we should evaluate for 4.0 (not currently planned) - [ ] https://github.com/Effect-TS/effect/issues/2855 - [ ] https://github.com/Effect-TS/effect/issues/2613 - [ ]...
### What version of Effect is running? 3.8.4 ### What steps can reproduce the bug? ```ts import { Schema } from "@effect/schema"; import * as PgDrizzle from "@effect/sql-drizzle/Pg"; import "dotenv/config";...
# Summary **Summary**: - **User Issue**: **@nikivi** is experiencing issues with a CLI-based development workflow using `bun --watch` and `@effect/cli`. The process quits immediately upon saving a file, ignoring the...
### What is the problem this feature would solve? Switching from a Ref to a ScopedRef involves a lot of changes to how apis are called. ```ts Ref.make(false) Ref.set(ref, true)...
### What is the problem this feature would solve? Currently, the `Record` module lacks a built-in, type-safe method for renaming keys in an object while preserving full type information in...
### What is the problem this feature would solve? Using the Effect generator syntax is really nice as some data types are "yieldable" however even more data types could be...
as requested by @schickling discord thread: https://ptb.discord.com/channels/795981131316985866/920065989557747723/1282717371596935169 https://x.com/tunetheweb/status/1832751650089386422?s=46&t=r6W08josgpNiUkyXidK8Uw https://developer.chrome.com/blog/introducing-scheduler-yield-origin-trial https://developer.mozilla.org/en-US/docs/Web/API/Scheduler https://wicg.github.io/scheduling-apis/#scheduler
### What is the problem this feature would solve? - Http servers enforcing & informing about current rate limiting status (via response headers) - Http clients automatically respecting those rate...
# Summary ### Summary The user is trying to retain the schema structure of a `StructSchema` while applying transformations using `Schema.typeSchema`. They provided a TypeScript function to achieve this but...