As a result of the consistent filtering rules proposal (clockworklabs/SpacetimeDB#1256), all equatable types are now natively equatable in C# as well.
This allows us to compare objects directly, without holding and comparing AlgebraicValue in the entries map as well, which has a bit of a domino effect and allows to optimise, simplify or even remove some parts of the SDK.
API
[x] This is an API breaking change to the SDK
New filtering rules limit types on which filtering can be done, as well as change the return type of FilterBy functions to always be iterable.
Description of Changes
As a result of the consistent filtering rules proposal (clockworklabs/SpacetimeDB#1256), all equatable types are now natively equatable in C# as well.
This allows us to compare objects directly, without holding and comparing AlgebraicValue in the entries map as well, which has a bit of a domino effect and allows to optimise, simplify or even remove some parts of the SDK.
API
New filtering rules limit types on which filtering can be done, as well as change the return type of
FilterBy
functions to always be iterable.Requires SpacetimeDB PRs
https://github.com/clockworklabs/SpacetimeDB/pull/1277