Skip to content

Commit

Permalink
update multi-modules documentation (#5889)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbonnin committed May 15, 2024
1 parent d457852 commit 44e556d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/source/advanced/multi-modules.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,14 @@ apollo {
// If you need to specify the location of your schema files
schemaFiles.from(/*...*/)

// define options that must be shared between all modules using this schema
// scalar mappings and generateDataBuilders must be defined in the schema module
mapScalar(/*...*/)
generateDataBuilders.set(true)
// more options...

// other options can be different between modules.
// if you want those options to be applied to all modules, use a convention plugin and shared build logic.
useSemanticNaming.set(true)
generateFragmentImplementations.set(true)
}
}
```
Expand Down

0 comments on commit 44e556d

Please sign in to comment.