Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/docs/00200-core-concepts/00000-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Learn how SpacetimeDB databases work, including modules, publishing, and transac
- [Building & Publishing](./00100-databases/00300-spacetime-publish.md) - Deploy your module to SpacetimeDB
- [Transactions](./00100-databases/00100-transactions-atomicity.md) - How atomicity and rollback work
- [Migrations](./00100-databases/00500-migrations/00200-automatic-migrations.md) - Evolving your schema over time
- [Inter-Database Communication](./00100-databases/00650-inter-database-communication.md) - Calling reducers in other databases

## Tables

Expand Down
1 change: 1 addition & 0 deletions docs/docs/00200-core-concepts/00100-databases.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ Ready to level up? Dive into these advanced capabilities:
- **[Procedures](./00200-functions/00400-procedures.md)** - Make HTTP requests and interact with external services
- **[Views](./00200-functions/00500-views.md)** - Create computed, subscribable queries
- **[Schedule Tables](./00300-tables/00500-schedule-tables.md)** - Schedule reducers to run at specific times
- **[Inter-Database Communication](./00100-databases/00650-inter-database-communication.md)** - Call reducers in other databases
- **[Incremental Migrations](./00100-databases/00500-migrations/00300-incremental-migrations.md)** - Handle complex schema changes
- **[SQL Queries](../00300-resources/00400-sql-reference.md)** - Query your database with SQL

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ Your database will be available at `https://maincloud.spacetimedb.com`.

### Receiver dependencies

For inter-database calls, the **calling database** needs module bindings for the **receiving database** whose reducers it calls. These are distinct from the client bindings used by clients. Rust and TypeScript modules support receiver bindings.
For [inter-database calls](./00650-inter-database-communication.md), the **sending database** needs module bindings for the **receiving database** whose reducers it calls. These are distinct from the client bindings used by clients. Rust and TypeScript modules support receiver bindings.

When the root database in `spacetime.json` declares `dependencies`, `dev` generates those receiver bindings **before** building the calling module, including on rebuilds. It watches receiving module source paths as well as published module sources, even when the receiving modules are outside the calling module directory. Child targets may provide receiving module source settings, but their own dependency arrays are not processed by `dev`.
When the root database in `spacetime.json` declares `dependencies`, `dev` generates those receiver bindings **before** building the sending module, including on rebuilds. It watches receiving module source paths as well as published module sources, even when the receiving modules are outside the sending module directory. Child targets may provide receiving module source settings, but their own dependency arrays are not processed by `dev`.

`--skip-generate` skips both receiver and client binding generation and removes receiver-only watch paths; it does not supply missing bindings. `--skip-publish` does not skip generation. See the [receiver dependency reference](/cli-reference/spacetime-json#receiver-dependencies) for configuration and language support.

Expand Down
Loading
Loading