You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fixes#88
* Upgrade SpacetimeDB to 1.10.0 and use unstable feature, bump version to v0.15.0
* Fixes#99
* Fixes#100
* fix grammar, fix trait code docs
* Expose LocalReadOnly in ReadOnlyDSL and context
* Refactor imports to use spacetimedsl prelude
- SpacetimeDSL is not available in `#[spacetimedb::view]` functions, because SpacetimeDB uses structs instead of traits for Contexts - We are not really able to generate code which use `ReducerContext`, `ViewContext`and `AnonymousViewContext` at the same time, so we would need to generate each read-only DSL method 3 times.
1782
-
- If you encounter that you can't access a method on the (Anonymous)ViewContext type because it's private, please follow these instructions: <https://github.com/tamaro-skaljic/SpacetimeDSL/issues/90#issuecomment-3573925117> until <https://github.com/clockworklabs/SpacetimeDB/issues/3754> is resolved.
1781
+
- SpacetimeDSL is not available in `#[spacetimedb::view]` functions until [SpacetimeDB#3787](https://github.com/clockworklabs/SpacetimeDB/pull/3787) is merged and released.
1782
+
- If you encounter that you can't access a method on the `(Anonymous)ViewContext` type because it's private, please follow these instructions: <https://github.com/tamaro-skaljic/SpacetimeDSL/issues/90#issuecomment-3573925117> until [SpacetimeDB#3754](https://github.com/clockworklabs/SpacetimeDB/issues/3754) is resolved and released.
1783
1783
1784
1784
## ❓ FAQ
1785
1785
1786
1786
**❔ Why must `#[primary_key]` columns be private?**
1787
1787
1788
+
> Currently, they are allowed to be public, until [SpacetimeDB#3754](https://github.com/clockworklabs/SpacetimeDB/issues/3754) is resolved and released.
1789
+
1788
1790
- 🔒 They should never change after insertion
1789
1791
- DSL generates [setters](#-accessors-getters-and-setters) for non-private columns
description = "Contains structs which represent the input and output of SpacetimeDSL. Can be used by other proc-macro crates to build Macros which utilize SpacetimeDSL under the hood."
0 commit comments