Designing and building modular GraphQL API may not look straight-forward. It is hard to keep a perfect modularity with standalone and encapsulated modules.
Understand how scoped providers work in GraphQL-Modules Dependency Injection.