Skip to content

Migrate from AppError to Error#9

Merged
aromanov91 merged 5 commits intomainfrom
dev
Feb 23, 2026
Merged

Migrate from AppError to Error#9
aromanov91 merged 5 commits intomainfrom
dev

Conversation

@aromanov91
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 557490fb7c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

"Company": companyDict,
]
if let data = try? JSONSerialization.data(withJSONObject: linksDict) {
return try? JSONDecoder().decode(Links.self, from: data)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Avoid early return when decoding inline Developer/Company links

The linksConfiguration loader returns try? JSONDecoder().decode(...) directly for the Developer/Company branch, so a decode failure exits the function immediately instead of falling back to Links, AppConfig, or AppConfig.plist. This is reachable when Info.plist includes partial Developer/Company dictionaries (for example, missing required AppStoreID in Links.Company), and it makes all link-derived values unexpectedly nil even if valid fallback config exists.

Useful? React with 👍 / 👎.

links?.company.appStoreId
public static var appStoreReviewUrl: URL? {
guard let appStoreId else { return nil }
return URL(string: "itms-apps:itunes.apple.com/us/app/apple-store/id\(appStoreId)&action=write-review")
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Add query delimiter to App Store review URL

appStoreReviewUrl builds itms-apps:.../id<id>&action=write-review without a ? before the query parameter, so action=write-review is not encoded as a query string. In practice this can prevent opening the direct review flow and instead open an invalid or generic App Store target.

Useful? React with 👍 / 👎.

@aromanov91 aromanov91 changed the title Dev Migrate from AppError to Error Feb 23, 2026
@aromanov91 aromanov91 merged commit 520ddaa into main Feb 23, 2026
29 checks passed
@aromanov91 aromanov91 deleted the dev branch February 23, 2026 12:09
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.

1 participant