Skip to content

add experimental project HttpApi read slice#22392

Draft
kitlangton wants to merge 3 commits intodevfrom
kit/project-httpapi-reads
Draft

add experimental project HttpApi read slice#22392
kitlangton wants to merge 3 commits intodevfrom
kit/project-httpapi-reads

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • move Project.Info to Effect Schema with derived .zod compatibility for the existing Hono routes
  • add a parallel experimental project HttpApi slice for GET /project and GET /project/current
  • cover the new project list/current/docs flow with a server test

Verification

  • bun typecheck
  • bun run test test/server/project-httpapi.test.ts

Base automatically changed from kit/question-httpapi-spike to dev April 14, 2026 19:43
@kitlangton kitlangton force-pushed the kit/project-httpapi-reads branch from fb930fa to 556cd89 Compare April 15, 2026 00:38
Move Project.Info to Effect Schema, add a parallel experimental project HttpApi surface for list/current, and cover the new read-only slice with a server test.
Return the existing project DTOs directly from the project HttpApi handlers and align the server test cleanup pattern with the other experimental slices.
Build the project HttpApi handlers with an effectful group callback so the endpoint group follows the same one-time handler construction pattern as the question slice.
@kitlangton kitlangton force-pushed the kit/project-httpapi-reads branch from 556cd89 to 1b92ca9 Compare April 15, 2026 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant