clockworklabs / clockworklabs/SpacetimeDB

Where is ReducerContext?

Open
#2,597 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I followed the demo at https://spacetimedb.com/docs/modules/c-sharp/quickstart and created a module using the command: spacetime init --lang csharp server.

However, following the tutorial, I couldn't find ReducerContext. I was able to create IReducerContext, but I have absolutely no idea how to implement it.

Since C# and Rust are the primary languages being offered at this stage, it would have been great to have sample projects or something similar. Is it possible that I'm just having trouble finding them?

I'm very excited to apply this to .NET MAUI, but it seems too difficult at this early stage.

By the way, the version of SpacetimeDB.Runtime I'm using is 1.0.1.

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 with the C# quickstart at https://spacetimedb.com/docs/modules/c-sharp/quickstart and compare its instructions with a module created by spacetime init --lang csharp server. Clarify where ReducerContext comes from, how IReducerContext is implemented, and whether sample projects are available; the tutorial is done when a new C# user can follow it with SpacetimeDB.Runtime 1.0.1.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.