clockworklabs / clockworklabs/SpacetimeDB

BUG: `ReducerKind.Update` missing from bindings-csharp codegen

Open
#2,410 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

possibly-stale
Dominant language
Rust
Stars
25.2k
Forks
1.1k
Avg merge
2d 7h
Merged PRs (30d)
46

Description

The lifecycle reducer Update is present in the rust module codegen, but missing in the csharp module codegen.

Not sure which version this was removed in, however I'm fairly sure at one point it did exist in the c# module... could be taking crazy pills here though. Would be worth including in the c# module either way so it's at parity with the rust one.

Thank you!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in crates/bindings-csharp/Codegen/Module.cs around line 628 and compare the lifecycle reducer definitions with crates/bindings-macro/src/reducer.rs around line 19. Run the existing C# binding or code-generation checks, if available, and verify that the generated C# bindings include ReducerKind.Update consistently with Rust.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, rust
Domain
database
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.