Skip to content

Support for multiple schemas #181

@louy

Description

@louy

Hi there,

Are there any plans to introduce multi-instance support without having to create separate tsconfig files?

Something like gql.tada does, 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions