Migrate all API types into each domain - #4795
Conversation
Move each domain's GraphQL/Strawberry code from api/<domain>/ into <domain>/api/, so every domain owns its own API layer. The top-level api app now only holds generic GraphQL setup (schema, types, context, permissions, extensions, helpers, utils, views) plus the orders package (which has no dedicated domain app yet). All api.<domain> imports across the backend were rewritten to <domain>.api, and parent-relative imports that reached into api-generic modules were converted to absolute api.* imports. Co-authored-by: Marco Acierno <3382153+marcoacierno@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Mechanical migration moving each domain's API layer from Verified across the full backend tree: no stale No issues found. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #4795 +/- ##
===========================================
- Coverage 93.08% 74.02% -19.06%
===========================================
Files 360 355 -5
Lines 11202 11114 -88
Branches 902 895 -7
===========================================
- Hits 10427 8227 -2200
- Misses 663 2794 +2131
+ Partials 112 93 -19 🚀 New features to boost your workflow:
|
Migrates each domain's API layer from the top-level
api/app into its own domain app (api/<domain>/→<domain>/api/), leavingapi/with only the generic GraphQL setup.api.<domain>imports to<domain>.apiapi/ordersin place (no matching domain app yet)Closes #4792
Generated with Claude Code