-
Story
-
Resolution: Done
-
Major
-
None
-
False
-
-
False
-
+
-
---
-
-
I've added a test to verify the compatibility of both the extensions together.
This is not a big refactor as both extensions are still coupled together, but this lets users use both implementation in their Quarkus application.
The idea is to have a MultiplePersistenceProviderResolver https://github.com/quarkusio/quarkus/compare/main...lucamolteni:13425-ter?expand=1#diff-c1c6c402fc142de3b1c4d726cb080f2b856cf560b693a1686f52ad3a35a972f0R10
And filter the correct one at runtime
There's also a new ReactivePersistenceUnit annotation https://github.com/quarkusio/quarkus/compare/main...lucamolteni:13425-ter?expand=1#diff-8c10ee8583155144d5c9f796e33b785471701a346c768b2f707fe3a036f0590dR24 in order to disambiguate the correct bean to be injected.
I've also changed the default name for the reactive persistence unit as there are effectively two together and they can't share the same name.
Connection strings are in two different fields so they don't collide
https://github.com/quarkusio/quarkus/compare/main...lucamolteni:13425-ter?expand=1#diff-6dd4fdea2c39574c084d9b03d106b6dd15b4877db728858cebf88641216bcd72R13
Feedbacks are welcome