clockworklabs / com.clockworklabs.spacetimedbsdk

The SpacetimeDB SDK for C# clients
https://spacetimedb.com
Apache License 2.0
6 stars 0 forks source link

Regenerate SpacetimeDB ClientAPI bindings #147

Closed jdetter closed 1 month ago

jdetter commented 1 month ago

Description of Changes

Describe what has been changed, any new features or bug fixes

Staging has been broken in Unity since this PR merged: https://github.com/clockworklabs/com.clockworklabs.spacetimedbsdk/pull/116

The errors:

C:\Users\lightfox\lightfox\com.clockworklabs.spacetimedbsdk\src\Primitives.cs(79,35): error CS0426: The type name 'U128' does not exist in the type 'AlgebraicType'
C:\Users\lightfox\lightfox\com.clockworklabs.spacetimedbsdk\src\Primitives.cs(42,35): error CS0426: The type name 'I128' does not exist in the type 'AlgebraicType'

I believe the reason for this is out of date bindings for the ClientAPI. I've regenerated the bindings and it seems to be building now.

Follow-up actions

API

If the API is breaking, please state below what will break

Not breaking

Requires SpacetimeDB PRs

List any PRs here that are required for this SDK change to work

No PRs required

Testing

jdetter commented 1 month ago

This must go into 0.12, without this PR this sdk doesn't build in Unity!

jdetter commented 1 month ago

closing in favor of something like this: https://github.com/clockworklabs/com.clockworklabs.spacetimedbsdk/pull/148