## Testing `relationMode` datasource property
See issue: Prisma Client: on MongoDB many-to-many relations: Unexpected results when using @map on the scalar list of referenced IDs
https://github.com/prisma/prisma/issues/15776
The tests are extracted from `relationMode-in-separate-gh-action`
- It only runs MongoDB
- On the m:n relation
- with `@map` / `@@map`
- all test (except 2) are turned into `test.failing()`
- as we want to run these failing tests in CI but the CI status should pass
Once the issue is fixed
- Edit relationMode-in-separate-gh-action/tests_m-to-n-MongoDB.ts
- Remove usage of `isSchemaUsingMap` and comment
- this directory can be deleted
How to run these tests?
```sh
pnpm run test:functional:code relationMode-m-n-mongodb-failing-with-at-map
```
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/prisma/prisma'
If you have feedback or need assistance with the MCP directory API, please join our Discord server