mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-11 02:00:04 -04:00
98585e858d
# Description of Changes Modules are like programs, databases are like processes. Your client connects to a remote database, not a remote module. <!-- Please describe your change, mention any related tickets, and so on here. --> # API and ABI breaking changes Yep! # Expected complexity level and risk 2? I made this change with find + replace, and it's possible that I borked the edit, or missed some reference somehow. It seems unlikely, however, that this change will have deeper implications we haven't considered. # Testing N/a
SDK Test Procedure C++
This module tests the procedure functionality in the SpacetimeDB C++ bindings.
Tests Included
- return_primitive: Procedure returning primitive type (u32)
- return_struct: Procedure returning custom struct
- return_enum_a/return_enum_b: Procedures returning enum variants
- will_panic: Procedure that panics (for error testing)
Tests Excluded (Part 2+)
The following Rust tests are excluded as they require features not yet implemented:
- HTTP requests (
read_my_schema,invalid_request) - Transactions (
insert_with_tx_commit,insert_with_tx_rollback) - Scheduled procedures (
schedule_proc,scheduled_proc)
Building
.\compile.bat
This will generate lib.wasm in the build directory.