Skip to content

Commit d60a167

Browse files
author
Elies Lou
committed
docs(apollo-federation): explain multigraph use-case
1 parent 4a2ca54 commit d60a167

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

+5
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)