Skip to content

Commit 31db107

Browse files
martinbonninBoD
authored andcommitted
update multi-modules documentation (apollographql#5889)
1 parent 60b01eb commit 31db107

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/source/advanced/multi-modules.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,14 @@ apollo {
2727
// If you need to specify the location of your schema files
2828
schemaFiles.from(/*...*/)
2929

30-
// define options that must be shared between all modules using this schema
30+
// scalar mappings and generateDataBuilders must be defined in the schema module
3131
mapScalar(/*...*/)
3232
generateDataBuilders.set(true)
33-
// more options...
33+
34+
// other options can be different between modules.
35+
// if you want those options to be applied to all modules, use a convention plugin and shared build logic.
36+
useSemanticNaming.set(true)
37+
generateFragmentImplementations.set(true)
3438
}
3539
}
3640
```

0 commit comments

Comments
 (0)