Skip to content

chore(example): migrate to Effect v4 - #21

Merged
antonin-morel-spiko merged 1 commit into
mainfrom
chore/migrate-example
Oct 2, 2026
Merged

antonin-morel-spiko merged 1 commit into
mainfrom
chore/migrate-example

Conversation

@antonin-morel-spiko

@antonin-morel-spiko antonin-morel-spiko commented Oct 2, 2026 •

Copy link
Copy Markdown
Collaborator

Migrates example/ to Effect v4 and @spiko-tech/effect-react-query 2.0.

- drop @effect/platform, use effect/http and effect/http-api
- bump effect and @effect/platform-bun to 4.0.0
- use @spiko-tech/effect-react-query 2.0
- update mutation error handlers to v4 error types
Copilot AI balanced review requested due to automatic review settings October 2, 2026 09:18
@antonin-morel-spiko antonin-morel-spiko self-assigned this Oct 2, 2026
@antonin-morel-spiko
antonin-morel-spiko merged commit 9ed3417 into main Oct 2, 2026
5 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The migration is internally consistent and the stated build and smoke-test coverage validates the affected paths.

Review effort: Balanced
Findings: None

What changed in this PR

Migrates the example application to Effect v4 and effect-react-query 2.0.

Changes:

  • Updates Effect dependencies, imports, schemas, and HTTP APIs.
  • Migrates backend routing, CORS, and error handling.
  • Updates configuration, lockfile, and frontend server logging.
File Description
example/​tsconfig.json Removes obsolete baseUrl.
example/​src/​frontend.ts Logs the frontend server URL.
example/​src/​client.ts Uses Effect v4 HTTP imports.
example/​src/​backend.ts Migrates server and router composition.
example/​src/​App.tsx Handles Effect v4 client errors.
example/​src/​api.ts Migrates endpoint and schema declarations.
example/​package.json Updates and adds required dependencies.
example/​bun.lock Locks the migrated dependency graph.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@antonin-morel-spiko
antonin-morel-spiko deleted the chore/migrate-example branch October 2, 2026 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants