Skip to content

Why is TransactionBuilder::new private? #145

Answered by weiznich
lsunsi asked this question in Q&A
Discussion options

You must be logged in to vote

That function is private as the corresponding sync equivalent not part of the public API of diesel itself and diesel_async does not have the equivalent of the unstable feature flag.

That written I might be open to expose it if someone submits a PR that changes it to pub, adds documentation and covers that function with a relevant test.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lsunsi
Comment options

Answer selected by lsunsi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants