Skip to content

Commit c4cbdb0

Browse files
committed
docs(client): name the split-out findings #17234 / #17235 at their pins
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015QE8qk46e5CHJxyQEUjbf8
1 parent 80ad225 commit c4cbdb0

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.changeset/client-get-session-envelope-and-refresh-read.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,5 @@ stays signed in across the call.
6060
Two answers stay outside the declared type and are **not** addressed here: the
6161
anonymous `null`, which would need the published return annotation to widen, and
6262
`SessionUser.image`, declared `z.string().optional()` against a route that
63-
serves `null`. Both are filed separately.
63+
serves `null` (#17235). The sibling `auth.login` / `auth.register`, which
64+
normalize into `data` but set no `success`, are #17234.

packages/client/src/auth-get-session-envelope.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ describe('[#16760] /get-session is lifted into the SessionResponse envelope it d
213213
// nothing to do with this card and that the lift cannot reach:
214214
// `SessionUserSchema.image` is declared `z.string().optional()`, which
215215
// does not admit `null`, and better-auth serves `"image": null` for a
216-
// user who never set one.
216+
// user who never set one. Filed as #17235 — delete this case with it.
217217
//
218218
// Pinned as the exhaustive issue list rather than as "it fails": if the
219219
// envelope ever regresses, the missing `success` and `data` show up here

0 commit comments

Comments
 (0)