docs: remove the requirement on is queryable (#8199)

This commit is contained in:
Shahed Nasser
2024-07-21 22:20:24 +03:00
committed by GitHub
parent 8daa4119f0
commit 2f56030101
3 changed files with 0 additions and 34 deletions

View File

@@ -32,31 +32,6 @@ You can then retrieve data across the linked modules, and manage their linked re
---
## Prerequisite: isQueryable Configuration
Before you define a module link, you must enable the `isQueryable` configuration of the module.
For example:
```js
import { HELLO_MODULE } from "./src/modules/hello"
// ...
module.exports = defineConfig({
// ...
modules: {
[HELLO_MODULE]: {
resolve: "./modules/hello",
definition: {
isQueryable: true,
},
},
},
})
```
---
## How to Define a Module Link?
### 1. Create Link File

View File

@@ -14,12 +14,6 @@ The remote query fetches data across modules. Its a function registered in th
In your resources, such as API routes or workflows, you can resolve the remote query to fetch data across custom modules and Medusas commerce modules.
<Note type="check">
- [Enable the isQueryable configuration of the module](../module-links/page.mdx#prerequisite-isqueryable-configuration)
</Note>
---
## Remote Query Example

View File

@@ -144,9 +144,6 @@ module.exports = defineConfig({
modules: {
marketplaceModuleService: {
resolve: "./modules/marketplace",
definition: {
isQueryable: true,
},
},
},
})