Skip to content

Commit 8e278ef

Browse files
bajtosclaude
andauthored
docs(registry): clarify seedBucket comment — it returns the DID it generated (#89)
Apply alanshaw's review suggestion from #88: seedBucket generates the space DID itself rather than receiving one, so say so. Claude-Session: https://claude.ai/code/session_016pXpui5gkkB5S4Kc82CoQy Co-authored-by: Claude <noreply@anthropic.com>
1 parent 2fb6627 commit 8e278ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

registry/postgres_live_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func TestPostgresStores_Live(t *testing.T) {
5656

5757
r := registry.NewPostgres(pool)
5858
// seedBucket inserts a bucket row directly, bypassing Create, and returns
59-
// the space it was given. space has no default — Create always supplies
59+
// the space DID it generated. space has no default — Create always supplies
6060
// the DID Hilt returns — so the seed supplies one too.
6161
seedBucket := func(t *testing.T, name string) did.DID {
6262
t.Helper()

0 commit comments

Comments
 (0)