Is your feature request related to a problem? Please describe.
ApiConfig in packages/framework/src/api-config.ts requires all 18 integration slots. A simple project that only uses CMS + Tickets + Auth still needs to provide stub configs for Orders, Carts, Products, Checkout, Payments, etc. This creates unnecessary boilerplate and makes onboarding harder for projects with limited integration needs.
Describe the solution you'd like
Make non-core integrations optional:
export interface ApiConfig {
integrations: {
// Core — always needed
cms: IntegrationSlot<CMS.Service, CMS.Controller>;
auth: IntegrationSlot<Auth.Service>;
// Optional — provide only what you use
tickets?: IntegrationSlot<Tickets.Service, Tickets.Controller>;
articles?: IntegrationSlot<Articles.Service, Articles.Controller>;
orders?: IntegrationSlot<Orders.Service, Orders.Controller>;
// ...
};
}
The framework modules that use optional integrations would check for existence and skip registration gracefully.
Additional context (if applicable)
- Key file:
packages/framework/src/api-config.ts
This repo is using Opire - what does it mean? 👇
💵 Everyone can add rewards for this issue commenting /reward 100 (replace 100 with the amount).
🕵️♂️ If someone starts working on this issue to earn the rewards, they can comment /try to let everyone know!
🙌 And when they open the PR, they can comment /claim #765 either in the PR description or in a PR's comment.
🪙 Also, everyone can tip any user commenting /tip 20 @lukasz-hycom (replace 20 with the amount, and @lukasz-hycom with the user to tip).
📖 If you want to learn more, check out our documentation.
Is your feature request related to a problem? Please describe.
ApiConfiginpackages/framework/src/api-config.tsrequires all 18 integration slots. A simple project that only uses CMS + Tickets + Auth still needs to provide stub configs for Orders, Carts, Products, Checkout, Payments, etc. This creates unnecessary boilerplate and makes onboarding harder for projects with limited integration needs.Describe the solution you'd like
Make non-core integrations optional:
The framework modules that use optional integrations would check for existence and skip registration gracefully.
Additional context (if applicable)
packages/framework/src/api-config.tsThis repo is using Opire - what does it mean? 👇
💵 Everyone can add rewards for this issue commenting
/reward 100(replace100with the amount).🕵️♂️ If someone starts working on this issue to earn the rewards, they can comment
/tryto let everyone know!🙌 And when they open the PR, they can comment
/claim #765either in the PR description or in a PR's comment.🪙 Also, everyone can tip any user commenting
/tip 20 @lukasz-hycom(replace20with the amount, and@lukasz-hycomwith the user to tip).📖 If you want to learn more, check out our documentation.