clockworklabs / clockworklabs/SpacetimeDB

Code generate `IsExternalInit`

Open
#2,214 1 comment 0 reactions 1 assignee View on GitHub

@cloutiertyler is already working on this.

Since Feb 7, 2025.

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

Description

https://github.com/clockworklabs/spacetime-docs/issues/125#issuecomment-2580820919

In relation to this issue, we would like to actually just code generate a file which includes this code. That way only users who already have a definition will get an error, rather than every user who uses SpacetimeDB's Unity SDK.

We will have to document what to do in the duplicate case (that will only be documented on our website however).

We think this is preferable to the alternative though. This will presumably also require a --unity flag or something in the code generation so that it is not generated for C#.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.