You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that micronaut-data starting with version 3.8.0 throws an error if we simply use the@MicronautTest annotation without explicitly setting transactional to false when the configured data source is a reactive one (i.e. R2DBC). AFAIK this is a shortcoming of Kotest that it can't handle reactive transactions and not something that should/could be configured correctly to make it work, so it would be great if there would be a way to omit these verbose transactional=false arguments if we use R2DBC with Kotest.
Something like this would do the job without making any breaking change, but I'm not sure if this is the right approach:
Then everybody could decide if they would like to use the "old" MicronautKotestExtension that would behave the same way as it used to, or use the new one that would change the transactional property to false internally.
Feature description
The problem is that micronaut-data starting with version 3.8.0 throws an error if we simply use the
@MicronautTest
annotation without explicitly settingtransactional
tofalse
when the configured data source is a reactive one (i.e. R2DBC). AFAIK this is a shortcoming of Kotest that it can't handle reactive transactions and not something that should/could be configured correctly to make it work, so it would be great if there would be a way to omit these verbosetransactional=false
arguments if we use R2DBC with Kotest.Something like this would do the job without making any breaking change, but I'm not sure if this is the right approach:
Then everybody could decide if they would like to use the "old"
MicronautKotestExtension
that would behave the same way as it used to, or use the new one that would change thetransactional
property tofalse
internally.Related to #669
The text was updated successfully, but these errors were encountered: