clockworklabs / clockworklabs/SpacetimeDB
Code generate `IsExternalInit`
@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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.