docs: improvements to module and data model documentation (#8062)
* docs: improvements to module and data model documentation * add note about data model name casing
This commit is contained in:
1 parent
02add3f0f5
commit
bb0303cd6a
15 files changed
+262
-102
No files matched your search
@@ -23,10 +23,13 @@ To pass options to a module, add an `options` property to the module’s configu
|
||||
For example:
|
||||
|
||||
```js title="medusa-config.js"
|
||||
import { HELLO_MODULE } from "./src/modules/hello"
|
||||
// ...
|
||||
|
||||
module.exports = defineConfig({
|
||||
// ...
|
||||
modules: {
|
||||
helloModuleService: {
|
||||
[HELLO_MODULE]: {
|
||||
resolve: "./modules/hello",
|
||||
options: {
|
||||
capitalize: true,
|
||||
|
||||
Reference in new issue
Block a user