[codex] trim package to openapi-effect#22
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (5)
📒 Files selected for processing (27)
📝 WalkthroughSummary by CodeRabbitRelease Notes
WalkthroughThe PR refactors ChangesStrict Effect API Refactor
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
AI Session BackupCommit: 891db34
|
Summary
createClientEffect<Paths>(options?)as the public API with openapi-fetch-compatible inputs and Effect output channels.createClientpublic API, and unused dependencies.Scenario Verified
The strict example compiles through
tsc --noEmitand covers:createClientEffect<Paths>(clientOptions)without per-call output schema.apiClient.GET("/pets", { params: { query: { limit: 10 } } })input compatibility.200.Effect.catchTagshandling forHttpError,TransportError,UnexpectedStatus,UnexpectedContentType,ParseError, andDecodeError.Effect.Effect<void>after all errors are handled.Validation
corepack pnpm --filter @prover-coder-ai/openapi-effect run typecheckcorepack pnpm --filter @prover-coder-ai/openapi-effect test— 88 tests passedcorepack pnpm --filter @prover-coder-ai/openapi-effect run buildcorepack pnpm --filter @prover-coder-ai/openapi-effect run lintcorepack pnpm --filter @prover-coder-ai/openapi-effect run lint:effectcorepack pnpm --filter @prover-coder-ai/openapi-effect run lint:typescorepack pnpm --filter @prover-coder-ai/openapi-effect pack --dry-runNotes
The root-level untracked
scriptssymlink was left untouched and is not part of this PR.