Closed aneveu closed 4 years ago
ping @fteychene
Thanks for this contribution.
Could you please confirm if all values could stay nullable or if some default values should be used (and if so, which one? Embedded H2? Other?)
I think it is fine to keep Spring Boot defaults yeah.
Also, we tried to create new tests for R2dbc but we are stuck by the fact that DatabaseClient is not part of dependencies of the project. What's the test guideline? Should the dependency be added or do we consider that sample projects working is enough testing?
In Spring Framework 5.3, the R2DBC client is now directly integrated via the spring-r2dbc, it would be nice to leverage it as part of the tests in addition to the sample project if possible.
And finally, should we delete the previous implementations for H2 and Postgres or should we keep them?
I think we can remove them, but I am wondering how the database to use is now configured, is it via parsing the url
property + via classpath conditions? Would be nice to test.
Could it be possible to update the JaFu side as well?
Merged, thanks for this great contribution :+1:
Fixes: #274
Create a new DSL for R2dbc using
R2dbcProperties
fromSpring Boot 2.4
and a new generic initializer.Could you please confirm if all values could stay nullable or if some default values should be used (and if so, which one? Embedded H2? Other?)
Also, we tried to create new tests for R2dbc but we are stuck by the fact that
DatabaseClient
is not part of dependencies of the project. What's the test guideline? Should the dependency be added or do we consider that sample projects working is enough testing?And finally, should we delete the previous implementations for H2 and Postgres or should we keep them?