danielroe / danielroe/airspace

expose skipped-record count from `list()`

Open
#19 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
82
Forks
0
Avg merge
7h 9m
Merged PRs (30d)
12

Description

> Adding a required field can make list() return no records until migration, per the docs. Could it expose a skipped-record count? Then an app could say '12 records need updating' instead of showing users an empty workspace.
> https://bsky.app/profile/uomasiri.bsky.social/post/3mvjabl7rsc2i

Contributor guide

Open the contributing guide

Research direction

Start by locating the implementation and callers of `list()` and reproduce the documented case where a required field causes records to be skipped before migration. Determine how the skipped-record count should be exposed alongside the returned records; done means an app can distinguish an empty result from records needing updates and the relevant behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
database
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.