Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code generate IsExternalInit #2214

Open
cloutiertyler opened this issue Feb 6, 2025 · 1 comment
Open

Code generate IsExternalInit #2214

cloutiertyler opened this issue Feb 6, 2025 · 1 comment
Assignees

Comments

@cloutiertyler
Copy link
Contributor

cloutiertyler commented Feb 6, 2025

clockworklabs/spacetime-docs#125 (comment)

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#.

@gefjon
Copy link
Contributor

gefjon commented Feb 7, 2025

This may get a code freeze exception. @cloutiertyler is undecided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants