SpacetimeDB icon indicating copy to clipboard operation
SpacetimeDB copied to clipboard

Rust SDK API follow-up: table accessor trait name change

Open bfops opened this issue 11 months ago • 1 comments

The Rust SDK generates table accessor traits named trait FooTableAccess, whereas the module library generates trait foo. I initially thought we needed to generate the names in the SDK, but I believe that actually we can use the table name, provided we always convert it to snake_case rather than using the raw table name. Update the Rust SDK and the proposal to reflect this.

bfops avatar Jan 13 '25 21:01 bfops

This is API breaking but we are leaving it as a P2 because it is not critical to get it into the 1.0 release.

bfops avatar Jan 13 '25 21:01 bfops

(We didn't do this)

bfops avatar Apr 07 '25 19:04 bfops