captbaritone / captbaritone/grats
Support for multiple schemas
- Dominant language
- JavaScript
- Stars
- 358
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
Hi there,
Are there any plans to introduce multi-instance support without having to create separate tsconfig files?
[Something like `gql.tada` does](https://gql-tada.0no.co/get-started/installation#step-1-%E2%80%94-installing-packages), where it allows you to configure the plugin multiple times (via `ts-config.json`'s `compilerOptions.plugins`).
Reason: I've had the same issue multiple times, where I'd want to expose different schema on different endpoints for different audiences, but code them in the same codebase (monolith).
For example: When a product has multiple target audiences, with different login mechanisms, and completely different functionality.
- a B2B and B2C product, with different sets of APIs and users/auth
- an end-user vs an admin portal API
Contributor guide
Assessment
This issue has not been assessed yet.