-
Notifications
You must be signed in to change notification settings - Fork 109
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
Jeremie/cs module #1719
Jeremie/cs module #1719
Conversation
Just to duplicate a note from DMs - I noticed a few things in the PR that would be caught by the codegen tests, and looks like the snapshots haven't been updated in the PR. Can you please run Also #1718 might help with some attribute parsing here. |
a0c6f2b
to
7180d99
Compare
adaac3d
to
2ed0583
Compare
crates/bindings-csharp/Codegen.Tests/fixtures/server/snapshots/Module#PublicTable.verified.cs
Outdated
Show resolved
Hide resolved
c404b17
to
b5dfac7
Compare
A follow-up to #1719: - Hide `ColumnAttrs` and base `ColumnAttribute` classes into `SpacetimeDB.Internal` since they shouldn't be accessed by user. - Remove legacy `PrimaryKeyIdentity` alias as `ColumnAttrs` is no longer part of the public API. - Extend `ParseAs` helper to support abstract classes by accepting an explicit type. - Reuse `ParseAs` in couple of places instead of manual parsing. - Combine attributes by table early during parsing to reduce number of stored elements that need to be cached and iterated over. - Stringify ColumnAttrs as variant name again.
I think it got missed in #1719. Migrated myself to the new API and added it to the solution.
I think it got missed in #1719. Migrated myself to the new API and added it to the solution.
I think it got missed in #1719. Migrated myself to the new API and added it to the solution.
I think it got missed in #1719. Migrated myself to the new API and added it to the solution.
I think it got missed in #1719. Migrated myself to the new API and added it to the solution.
I think it got missed in #1719. Migrated myself to the new API and added it to the solution.
I think it got missed in #1719. Migrated myself to the new API and added it to the solution.
Updates runtime and codegen to support multiple tables per row type