-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Use the quarkus MongoClients in the liquibase-mongodb extension #46326
Conversation
This is really nice! Can we please remove all the lambdas and method handles from the code? |
f975608
to
05501ee
Compare
🙈 The PR is closed and the preview is expired. |
Is it because its in a recorder or, just as a general rule it is to be avoided due to the cost ? |
We try to avoid lambdas in code that executes at startup |
05501ee
to
ad1a181
Compare
...base-mongodb/runtime/src/main/java/io/quarkus/liquibase/mongodb/LiquibaseMongodbFactory.java
Outdated
Show resolved
Hide resolved
...ngodb/runtime/src/main/java/io/quarkus/liquibase/mongodb/runtime/LiquibaseMongodbConfig.java
Outdated
Show resolved
Hide resolved
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
705b691
to
0c01c80
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Please squash the commits :) |
feat: Try to use a different way Apply suggestions from code review Co-authored-by: Georgios Andrianakis <[email protected]>
0c01c80
to
240d769
Compare
Status for workflow
|
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.
Thanks!
Thanks for the help and review! |
Status for workflow
|
This PR makes the liquibase-mongodb extension use the quarkus
MongoClients
to create mongo clients instead of relying on the liquibase logic.This allows the following:
connection-string