-
Notifications
You must be signed in to change notification settings - Fork 5
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: implement transaction [WPB-11400] [WPB-10917] #732
base: main
Are you sure you want to change the base?
Conversation
1f1ae57
to
77ca951
Compare
01f4f8c
to
b9afcf6
Compare
And mark corresponding methods on CoreCrypto as deprecated
The SQLite in-memory instance is initiated with an empty path string, which had lead to empty query results in the iOS-specific keychain interactions.
This includes removal of the mls-keystore cargo feature
This will allow us to drop the deprecated API part in wasm bindings
...when catching an error during a transaction
To make the error thrown by the wrapper consistent with the ones before the transaction feature.
00128e2
to
82b335e
Compare
} | ||
}) | ||
if (error != null) { | ||
throw error as Throwable | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have a test for this?
}); | ||
if (error !== null) { | ||
throw error; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have a test for this?
return error; | ||
}); | ||
|
||
expect(error.rustStackTrace).toBe("CryptoError(InvalidContext)"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this test! 💜
What's new in this PR
PR Submission Checklist for internal contributors
SQPIT-764
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764
.