2026-04-20 ゴミみたいなコミット
bouzuya/bouzuya-firestore-client を Claude Code on the Web 経由で進めた。
bouzuya-firestore-client は Rust で書かれた Node.js Firestore SDK に近いインタフェースを持つ Firestore Client 。ぼくの過去につくった crate の検証の意味がある。
今日は次の型とメソッドを追加した。
QueryQuerySnapshotQuerySnapshot::docsQueryDocumentSnapshotQueryDocumentSnapshot::exists
Query 構造体は不要だったかも。 trait で定義するほうがオリジナルに近いけど、 Query の use が要求されるのは使いやすくないと思うので。
で、今日のコミットがあまりに汚いので明日からは注意する。 1 commit に squash する。あとは Conventional Commits をやめさせる。
今日のコミット。
- bouzuya-firestore-client 18 commits
- Update AGENTS.md
- Merge pull request #10 from bouzuya/claude/refactor-querysnapshot-struct-NS2LC
- refactor(query_snapshot): change to Vec
field, add new/docs/Clone - Merge pull request #9 from bouzuya/claude/refactor-query-document-snapshot-9BrdK
- refactor(query_document_snapshot): change to tuple struct with DocumentSnapshot
- test(query_document_snapshot): add failing test for new constructor (Red phase)
- Merge pull request #8 from bouzuya/claude/add-exists-method-AuT1L
- Add FIXME comment to QueryDocumentSnapshot::exists test
- Add QueryDocumentSnapshot::exists() returning true
- Merge pull request #7 from bouzuya/claude/add-query-document-snapshot-LYhSB
- feat: add QueryDocumentSnapshot as importable non-constructable type (Green phase)
- fix: correct version comment to v2.1
- test: add failing test for QueryDocumentSnapshot import (Red phase)
- Merge pull request #6 from bouzuya/claude/add-querysnapshot-stub-Xjegx
- feat: add QuerySnapshot stub (importable but not constructable)
- test: add failing test for QuerySnapshot import (Red phase)
- Merge pull request #5 from bouzuya/claude/add-query-struct-sfEY3
- feat(query): add Query struct