--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/72167fc1-cbd6-131f-ef17-184153ac77dc%40googlemail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/CALt0%2Bo_2MGTMQqdSA1b-oR6Q6Sg8LH%2B%2BCUd8WVTyK0Mf%2BEftpQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/182CAE2D-BE7E-4032-9CB3-72B30BD929D6%40yahoo.com.
Hey all and thanks for the responses.
@Guillaume I never intended for the quarkus platform to make a new release =) I just needed some help.
@Roberto we already had the discussion. It is exactly the use case that Guillaume described. Try to implement datasources without the "db-kind" field, which is always present at compile-time.
I think that it is sensible to assume users won't create new configurations at run time; the configurations will be present in some form or another at compile-time, but not compile-time fixed. I opened a reature-request [1] a while back, which got closed as "not planned" and Roberto cited a discussion we had in zulip, in which I explained my (quite dirty) work-around. So I am pro keeping this behaviour alive.
As I said in a previous mail [2], one possibility is to group everything under a common subkey, e.g. "quarkus.jms" and introduce a "connection-type" (or similar), in-line with "datasources".
So for now, we have a workaround by binding properties twice
(once in a RUN_TIME config, once in a BUILD_TIME config). This
will lead to a warning at application startup since we rebind a
build time property, but it works as intended.
[1]: https://github.com/quarkusio/quarkus/issues/28415
[2]:
https://groups.google.com/g/quarkus-dev/c/thdTCj-XNUU/m/yrWTg2gPBAAJ
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/EEDF175E-EA68-46C9-AAF1-02B7E5E25CCF%40yahoo.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/d6d669f3-7b58-ab9e-d348-49aeabc0c427%40googlemail.com.
<OpenPGP_0x1D62FE7F6FECFBC5.asc>
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/d6d669f3-7b58-ab9e-d348-49aeabc0c427%40googlemail.com.