docs: make the facade's own example run on the default wire #95
No reviewers
Labels
No labels
area:defold
area:docs
area:infra
area:protocol
area:testing
kind:bug
kind:chore
phase:breadth
phase:core
phase:hardening
phase:slice
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
yuris/spacetimedb-defold!95
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-header-example"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Comment-only. Found while sweeping the wiki for the same class of claim, after #94 merged.
stdb/init.lua's header is the SDK's front door, and every line of its example fails on the default it sets three hundred lines below: a hand-written schema has notypes, so its table is skipped and reported rather than decoded;db:subscriberaises;call_reducerraises at the call withoutreducers. All three were correct before the flip and wrong the moment it landed.The example now generates its schema and passes
reducers/procedures, usessubscribe_query, and says why each is a requirement on BSATN rather than an upgrade — naming the v1 opt-out, where a hand-written schema is still fine.Lands after the
v2.0.0tag deliberately. Re-pointing a published tag to fix a comment is worse than shipping the fix onmain, and no consumer's code is affected.