Skip to content

Implement ctx.Identity getter in C# modules #2089

@RReverser

Description

@RReverser

Analogous to the ctx.identity() method in Rust, as implemented in SpacetimeDB#2085.

TBH I forget whether we specified this as a method or an attribute in C#, but whatever. Either way, the getter makes a call to the identity host function (added in the above PR), treats its result as a little-endian Identity, and returns that Identity. This should take all of 15 minutes to implement, hopefully.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions