Skip to content

fix: include externalToken in AuthenticationResponse Codable - #151

Merged
itaihanski merged 1 commit into
mainfrom
fix/encode-external-token
Jul 14, 2026
Merged

fix: include externalToken in AuthenticationResponse Codable#151
itaihanski merged 1 commit into
mainfrom
fix/encode-external-token

Conversation

@itaihanski

@itaihanski itaihanski commented Jul 14, 2026

Copy link
Copy Markdown
Member

Related PRs

Follow-up to #150

Description

Add missing encoding for externalToken

Must

  • Tests
  • Documentation (if applicable)

externalToken was added as a property (#150) but not to the custom
CodingKeys/encode/decode, so JSONEncoder and JSONDecoder silently
dropped it. Add it to the coding keys and encode/decode it (optional).
@shuni-bot

shuni-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

🐕 Review complete — View session on Shuni Portal 🐾

@shuni-bot

shuni-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

🐕 Suggested Reviewers

The review assignment focuses on the primary contributor who has significant work on the affected file, ensuring expertise and familiarity with the codebase.

Reviewer Reason
shilgapira shilgapira has extensive commit history on the src/internal/others/Internal.swift file, which is directly related to the change, making them well-suited to review the modification.

Suggested by Shuni based on git history and PR context. Names are not @-mentioned to avoid notifying anyone — request a review from whoever fits best.

@shuni-bot shuni-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐕 Shuni's Review

Adds externalToken to AuthenticationResponse's custom Codable so it survives JSONEncoder/JSONDecoder round-trips.

No issues found — good bones! The field is String? and the coding uses decodeIfPresent/encodeIfPresent, matching the optional type and the sibling pattern. Woof!

@itaihanski
itaihanski enabled auto-merge (squash) July 14, 2026 06:07
@itaihanski
itaihanski merged commit 647c504 into main Jul 14, 2026
9 checks passed
@itaihanski
itaihanski deleted the fix/encode-external-token branch July 14, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants