Skip to content

add experimental config providers HttpApi slice#22397

Draft
kitlangton wants to merge 4 commits intodevfrom
kit/config-providers-httpapi-spike
Draft

add experimental config providers HttpApi slice#22397
kitlangton wants to merge 4 commits intodevfrom
kit/config-providers-httpapi-spike

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • add a parallel experimental config HttpApi slice for GET /config/providers
  • keep the schema local to the slice for now instead of folding the full config and provider model trees into shared Effect DTOs in the same PR
  • normalize the provider payload through JSON serialization so the draft route returns a stable JSON shape while the deeper provider model migration remains separate
  • cover the new config providers/docs flow with a server test

Verification

  • bun typecheck
  • bun run test test/server/config-providers-httpapi.test.ts

Base automatically changed from kit/question-httpapi-spike to dev April 14, 2026 19:43
@kitlangton kitlangton force-pushed the kit/config-providers-httpapi-spike branch from d34012b to def0f01 Compare April 15, 2026 00:38
Add a parallel experimental config providers HttpApi endpoint, keep the schema local to the slice for now, and normalize the provider payload through JSON serialization so the draft route returns a stable JSON shape.
Align the config providers HttpApi server test with the shared instance cleanup pattern used by the other experimental slices.
Build the config providers HttpApi handler with an effectful group callback so the provider service is resolved once at layer construction time and the endpoint handler closes over the resulting service access.
@kitlangton kitlangton force-pushed the kit/config-providers-httpapi-spike branch from def0f01 to 2a118b5 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