Skip to content

Commit 0528381

Browse files
author
Elies Lou
committed
docs(apollo-federation): explain multigraph use-case
1 parent 376616a commit 0528381

File tree

1 file changed

+5
-0
lines changed
  • packages/apollo/tests/code-first-multigraph

1 file changed

+5
-0
lines changed

packages/apollo/tests/code-first-multigraph/main.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ import { NestFactory } from '@nestjs/core';
33
import { ApplicationModule } from './app.module';
44
import { GatewayModule } from './gateway.module';
55

6+
/**
7+
* This use case comes from the need for an application
8+
* to be designed in a way which would allow future context
9+
* separation from a deployment point of view.
10+
*/
611
export async function bootstrap() {
712
const app = await NestFactory.create(ApplicationModule);
813
app.useGlobalPipes(new ValidationPipe());

0 commit comments

Comments
 (0)