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:
Shahed Nasser
2024-07-11 13:53:40 +03:00
committed by GitHub
parent 02add3f0f5
commit bb0303cd6a
15 changed files with 262 additions and 102 deletions
@@ -23,10 +23,13 @@ To pass options to a module, add an `options` property to the modules 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,