Is it acceptable in an XRPC API with cursor pagination to return an empty list but a non-empty cursor, e.g. { feed: [], cursor: "2025-05-20..." } ? Is this something worth taking into account as a possibility from the client side, or can an empty `feed`/`records` etc. be treated as the end? π€ #atdev
I gotta say, I'm kinda enjoying writing JS in this "JSDocScript" mode π€ The code is almost* unchanged except the comments - I really wanted to avoid complicating it or adding more instructions just for the types - but I get most of the advantage of TS in much more confident and faster refactoring.
My personal Sisyphus stone is trying to filter out all posts saying "PDS" when talking about e.g. tornadoes, mental health or police from the ATProto feed πΆπ»ββ‘οΈπͺ¨