mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-13 19:27:46 -04:00
ed9a84641a
* Identity: use identity_bytes in SpacetimeType * Use SDK's version of Identity instead Signed-off-by: John Detter <4099508+jdetter@users.noreply.github.com> * make CI happy * make axum happy< * make axum happy v2 * Identity Codegen Impl C# (#100) * Changes required for identity generation in csharp * Clippy fix * Seems to be working * Fixes based on Mazdak suggestions --------- Co-authored-by: Boppy <no-reply@boppygames.gg> Co-authored-by: Derek Brinkmann <dbrinkmann@citadelstudios.net> * Fix compile error that somehow got merged in from https://github.com/clockworklabs/SpacetimeDB/pull/100 * Minor changes to allow `Identity` columns and reducer args in the SDK - `sdk::identity::Identity` must now be `Hash`, because declaring a `#[primarykey]` column with type `Identity` will cause the SDK to generate code that uses `Identity` as a `HashMap` key. This instance was previously not necessary because the key would be `Vec<u8>`, but probably should've been included anyway. - The codegen can just refer to `Identity` without path-qualifying, because it already imports the `Identity` type into all files it generates. * address pheobe's review * pacify clippy --------- Signed-off-by: John Detter <4099508+jdetter@users.noreply.github.com> Co-authored-by: John Detter <4099508+jdetter@users.noreply.github.com> Co-authored-by: Boppy <no-reply@boppygames.gg> Co-authored-by: Derek Brinkmann <dbrinkmann@citadelstudios.net> Co-authored-by: Phoebe Goldman <phoebe@goldman-tribe.org>