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: connection factory via R2dbcProjectionSettings.withCustomConnectionFactory #1254

Merged

Conversation

sebastian-alfers
Copy link
Contributor

No description provided.

Copy link
Member

@johanandren johanandren left a comment

Choose a reason for hiding this comment

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

Looks reasonable 👍

@sebastian-alfers sebastian-alfers marked this pull request as ready for review November 20, 2024 07:53
@sebastian-alfers sebastian-alfers merged commit a35d083 into akka:main Nov 25, 2024
21 of 22 checks passed
@patriknw
Copy link
Member

I think this PR is missing one thing. We have R2dbcSession.withSession, which is not possible to use with the custom connection factory. I think we should add

def withSession[A](system: ActorSystem[_], connectionFactory: ConnectionFactory)(
      fun: R2dbcSession => Future[A]): Future[A]

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.

4 participants