bugger/Sources
tigerenwork ae918a379c fix: remove redundant CodingKeys conflicting with .convertFromSnakeCase
JSONDecoder.keyDecodingStrategy = .convertFromSnakeCase converts JSON keys
like 'tenant_access_token' to Swift names like 'tenantAccessToken'. Having
explicit CodingKeys that map to the ORIGINAL snake_case keys (e.g.,
case tenantAccessToken = "tenant_access_token") causes a collision:
the decoder first converts the JSON key, then looks for a CodingKey
matching the original name — but the converted name doesn't match.

Removed redundant CodingKeys from OAuthTokenData, TenantAccessTokenData,
UserInfoData, and RecordItem. .convertFromSnakeCase handles all these
mappings automatically.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-29 00:30:51 +08:00
..
Models feat: full macOS menu bar app implementation 2026-06-28 20:56:44 +08:00
Services fix: remove redundant CodingKeys conflicting with .convertFromSnakeCase 2026-06-29 00:30:51 +08:00
Utils feat: add comprehensive debug logging to OAuth flow 2026-06-29 00:18:25 +08:00
ViewModels feat: full macOS menu bar app implementation 2026-06-28 20:56:44 +08:00
Views fix: wider settings window, better OAuth error handling, empty refresh token guard 2026-06-29 00:09:28 +08:00
AppDelegate.swift feat: switch OAuth redirect to localhost loopback (RFC 8252) 2026-06-28 23:48:49 +08:00
BuggerApp.swift feat: full macOS menu bar app implementation 2026-06-28 20:56:44 +08:00