Skip to content
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

feat: prepare for implementing action action handler for protocol update [WPB-5266] #685

Conversation

caldrian
Copy link
Contributor

@caldrian caldrian commented Nov 15, 2023

Sub-taskWPB-5266 [iOS] Implement action + action handler for protocol update


PR Submission Checklist for internal contributors

  • The PR Title

    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  • The PR Description

    • is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?

A few adjustments which are independent of the actual implementation of the protocol update action+handler, which will be done in PR #684.


PR Post Submission Checklist for internal contributors (Optional)

  • Wire's Github Workflow has automatically linked the PR to a JIRA issue

PR Post Merge Checklist for internal contributors

  • If any soft of configuration variable was introduced by this PR, it has been added to the relevant documents and the CI jobs have been updated.

References
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

@caldrian caldrian changed the base branch from develop to feat/proteus-to-mls-migration November 15, 2023 15:56
@caldrian caldrian marked this pull request as ready for review November 15, 2023 16:41
Comment on lines +72 to +76
expectedData: Data?,
expectedContentType: String?,
apiVersion: APIVersion = .v1,
file: StaticString = #filePath,
line: UInt = #line
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Make argument types optional, add file and line in order to show XCTAssert-warnings on the proper place.

Comment on lines +481 to +487
let id: UUID?
let data: T
let from: UUID?
let qualifiedID: QualifiedID?
let qualifiedFrom: QualifiedID?
let timestamp: Date?
let type: String?
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorted properties according to their order in the Swagger document.

Copy link
Contributor

github-actions bot commented Nov 15, 2023

Test Results

3 896 tests   3 896 ✔️  7m 44s ⏱️
   374 suites         0 💤
       3 files           0

Results for commit 3005ab2.

♻️ This comment has been updated with latest results.

@datadog-wireapp
Copy link

datadog-wireapp bot commented Nov 15, 2023

Datadog Report

Branch report: feat/prepare-for-implementing-action-action-handler-for-protocol-update-WPB-5266
Commit report: 36ca360

wire-ios-mono: 0 Failed, 0 New Flaky, 3896 Passed, 0 Skipped, 23.16s Wall Time

Co-authored-by: David-Henner <david.henner@wire.com>
…re-ios into feat/prepare-for-implementing-action-action-handler-for-protocol-update-WPB-5266
@markusfassbender markusfassbender merged commit 1c6687c into feat/proteus-to-mls-migration Nov 17, 2023
9 checks passed
@markusfassbender markusfassbender deleted the feat/prepare-for-implementing-action-action-handler-for-protocol-update-WPB-5266 branch November 17, 2023 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants