Skip to content

refactor: define new backend environment - WPB-12065 #3081

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

johnxnguyen
Copy link
Collaborator

@johnxnguyen johnxnguyen commented May 27, 2025

TaskWPB-12065 [iOS] Create a new BackendEnvironment and BackendMetadata structs

Issue

In preparation for multi-backend support, this PR adds a new BackendEnvironment2 (name will change later) data structure intended to hold information about the backend endpoints and metadata. It will replace the existing BackendEnvironment which will be removed at a later stage.


Checklist

  • Title contains a reference JIRA issue number like [WPB-XXX].
  • Description is filled and free of optional paragraphs.
  • Adds/updates automated tests.

UI accessibility checklist

If your PR includes UI changes, please utilize this checklist:

  • Make sure you use the API for UI elements that support large fonts.
  • All colors are taken from WireDesign.ColorTheme or constructed using WireDesign.BaseColorPalette.
  • New UI elements have Accessibility strings for VoiceOver.

@johnxnguyen johnxnguyen requested review from dmitrysimkin, a team, samwyndham and jullianm and removed request for a team May 27, 2025 10:19
Copy link
Contributor

github-actions bot commented May 27, 2025

Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit 70e49b3.

♻️ This comment has been updated with latest results.

@datadog-wireapp
Copy link

Datadog Report

Branch report: refactor/backend-environment-wpb-12065
Commit report: d6881a1
Test service: wire-ios-mono

✅ 0 Failed, 276 Passed, 0 Skipped, 3s Total Time


/// Create a new `BackendEnvironment`.
///
/// - Parameters:
Copy link
Contributor

@KaterinaWire KaterinaWire May 30, 2025

Choose a reason for hiding this comment

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

question: are url and webSocketURL intentionally skipped in the documentation?

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.

5 participants