SpacetimeDB icon indicating copy to clipboard operation
SpacetimeDB copied to clipboard

Consider adding `RowRefMut<'_>` to reduce the amount of `unsafe`

Open Centril opened this issue 11 months ago • 1 comments

To maintain sanity, we need to keep the growing amount of unsafe { ... } in table.rs under control. Consider adding a RowRefMut<'_> type to at least remove some get_row_ref_unchecked imposed by the borrow checker.

Centril avatar Jan 03 '25 10:01 Centril

cc @gefjon -- Maybe something for 1.1 - Improve testing.

Centril avatar Jan 03 '25 10:01 Centril