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

Fix declaration order of ScheduleAt in C# #2007

Merged
merged 3 commits into from
Dec 10, 2024

Conversation

kazimuth
Copy link
Contributor

And add some tests to sdk-test-cs. This was causing ScheduleAt to not get recognized by the schema validation code.

These tests don't fully exercise scheduling/indexes yet, but at least they check if they compile & are accepted by the host.

Expected complexity level and risk

0

Testing

Added tests.

@kazimuth kazimuth requested a review from RReverser November 21, 2024 21:42
@RReverser
Copy link
Member

Hm this doesn't look right. It seems it's Rust that is wrong here as C# implemented the enum according to the spec: https://github.com/clockworklabs/SpacetimeDBPrivate/blob/592a34c0cb82d587843d2b2309b824e94c035d26/proposals/0005-timers.md?plain=1#L82

Or, I guess, we can do this PR, but then we need to change the spec as well.

@kazimuth
Copy link
Contributor Author

Ah whoops. I think it's probably easier to change the spec at this point as it's less of a breaking change.

@kazimuth
Copy link
Contributor Author

@bfops bfops added release-any To be landed in any release window bugfix Fixes something that was expected to work differently labels Dec 2, 2024
bfops added a commit that referenced this pull request Dec 6, 2024
… Fix declaration order of ScheduleAt in C#
@cloutiertyler cloutiertyler force-pushed the jgilles/fix-csharp-scheduleat branch from 6b075f8 to 62cbd07 Compare December 10, 2024 04:41
@cloutiertyler cloutiertyler added this pull request to the merge queue Dec 10, 2024
Merged via the queue into master with commit b9b36d5 Dec 10, 2024
7 of 8 checks passed
cloutiertyler added a commit that referenced this pull request Dec 11, 2024
Co-authored-by: Tyler Cloutier <cloutiertyler@aol.com>
cloutiertyler added a commit that referenced this pull request Dec 11, 2024
Co-authored-by: Tyler Cloutier <cloutiertyler@aol.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fixes something that was expected to work differently release-any To be landed in any release window
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants