Conversation
|
Some missing or dangling .meta found. Fix commits are needed.
|
Signed-off-by: Jason Larabie <jason@clockworklabs.io>
|
@JasonAtClockwork could you also disable parameters for now? We can re-enable once we have sql support for them. |
…ckworklabs/SpacetimeDB into rekhoff/csharp-view-bindings
Added another temporary error that will block arguments beyond the context: |
Copied most of the tests and fixed an issue with missing return type checks in the codegen |
joshua-spacetime
left a comment
There was a problem hiding this comment.
I reviewed the tests and the runtime, but I did not review the codegen. I feel confident approving based on the test coverage, although I will outline a few more tests that would be useful to add before merging:
- Can't obtain an identity from an AnonymousViewContext
- Can't call
Iter()on a table handle obtained from a read only context - Can't call mutations like delete on an index handle obtained from a read only context
…ously included), removed Iter() from ReadOnly table accessors Added tests for AnonymousContext GetIdentity(), ReadOnly Table Iter(), and ReadOnly Index Delete()
Turns out Iter() was available on a ReadOnly table, and Delete() was available on a ReadOnly Index but they're now fixed. I've also added the three new tests so it might be another look before we merge just in case. |
joshua-spacetime
left a comment
There was a problem hiding this comment.
Looks great! Thanks @JasonAtClockwork
Signed-off-by: Jason Larabie <jason@clockworklabs.io>
|
All tests are passing. I'm force merging this one. |
Description of Changes
Updates C# bindings to allow module authors to define
Views andAnonymousViews using the pattern:During publishing of a C# module, the views data will be converted into
RawViewDefV9API and ABI breaking changes
No known breaking changes
Expected complexity level and risk
2
Testing
sdks\csharp\examples~\regression-tests\servertest and performing adotnet buildand aspacetime publish test, both of which succeeded.