Regression-test `table(scheduled(at = col_name))` syntax
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Locate the module-test module and inspect how scheduled tables and reducers are currently declared. Add a case using table(scheduled(at = col_name)), then build the module or run the relevant CI test to confirm the syntax is accepted and remains covered.
Written by the indexing model from the issue text.
Description
From our macro code:
let scheduled_at_column = scheduled_at_column.ok_or_else(|| {
syn::Error::new(
sched.span,
"scheduled tables must have a `scheduled_at: spacetimedb::ScheduleAt` column. \
if the column has a name besides `scheduled_at`, you can specify it with \
`scheduled(my_reducer, at = custom_scheduled_at)`",
)
})?;
This syntax, with the at = col_name parameter supplied, does not appear in our docs, and is not regression-tested.
Definition of Done
Add a use of this syntax to the module-test module so that it gets built in CI
- Dominant language
- Rust
- Stars
- 25.2k
- Forks
- 1.1k
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 45
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from clockworklabs/SpacetimeDB
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
clockworklabs/SpacetimeDB#5943 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
clockworklabs/SpacetimeDB#5851 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
clockworklabs/SpacetimeDB#5693 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
clockworklabs/SpacetimeDB#5587 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
clockworklabs/SpacetimeDB#5512 ·
All issues in clockworklabs/SpacetimeDB
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100