Skip to content

Update sqlx to 0.8.5 #386

Merged
andrewwhitehead merged 1 commit into
openwallet-foundation:mainfrom
pohlm01:quick-fix-sqlx-compilation-error
Apr 23, 2025
Merged

Update sqlx to 0.8.5 #386
andrewwhitehead merged 1 commit into
openwallet-foundation:mainfrom
pohlm01:quick-fix-sqlx-compilation-error

Conversation

@pohlm01
Copy link
Copy Markdown
Contributor

@pohlm01 pohlm01 commented Apr 22, 2025

Provide additional argument to Transactionanager::begin function to fix compilation errors

Closes #383

pohlm01 added a commit to openwallet-foundation-labs/tsp that referenced this pull request Apr 22, 2025
Related to openwallet-foundation/askar#383
and openwallet-foundation/askar#386

Signed-off-by: Maximilian Pohl <maximilian@tweedegolf.com>
…anager::begin` function to fix compilation errors

Closes #383

Signed-off-by: Maximilian Pohl <maximilian@tweedegolf.com>
@swcurran
Copy link
Copy Markdown
Contributor

@andrewwhitehead

pohlm01 added a commit to openwallet-foundation-labs/tsp that referenced this pull request Apr 22, 2025
* Patch `askar` compilation error

Related to openwallet-foundation/askar#383
and openwallet-foundation/askar#386

Signed-off-by: Maximilian Pohl <maximilian@tweedegolf.com>

* Fix rename problem in doc tests

Signed-off-by: Maximilian Pohl <maximilian@tweedegolf.com>

---------

Signed-off-by: Maximilian Pohl <maximilian@tweedegolf.com>
Copy link
Copy Markdown
Contributor

@andrewwhitehead andrewwhitehead left a comment

Choose a reason for hiding this comment

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

Looks good, thank you!

@andrewwhitehead andrewwhitehead merged commit 7aac642 into openwallet-foundation:main Apr 23, 2025
28 checks passed
@pohlm01 pohlm01 deleted the quick-fix-sqlx-compilation-error branch April 24, 2025 10:29
@gmulhearn
Copy link
Copy Markdown

thanks for this fix, just ran into this. note as well, i believe that the types of sqlx-core are not meant to be used (i.e. not meant to use TransactionManager trait i believe?):

see the dev comment in: launchbadge/sqlx#3820

so perhaps the bigger fix is to try move askar away from using these traits directly - not sure what's involved, just a passing comment

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.

Compilation error

4 participants