@ConfigProperties(prefix = "...") not supported with yaml files

142 views
Skip to first unread message

V. Sevel

unread,
Nov 10, 2020, 2:46:19 PM11/10/20
to Quarkus Development mailing list
hello,
it seems that using complex configuration objects as described in https://quarkus.io/guides/config#using-configproperties is supported for application.properties but not for application.yaml
is that correct?
if so, is it planned?
thanks,
vincent

Georgios Andrianakis

unread,
Nov 10, 2020, 3:24:51 PM11/10/20
to vvs...@gmail.com, Quarkus Development mailing list
It shouldn't matter if you .properties or .yaml, but if you have a reproducer indicating otherwise, please open an issue

--
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/18fda156-f3b0-4978-af1d-713804dd57can%40googlegroups.com.

V. Sevel

unread,
Nov 10, 2020, 3:45:15 PM11/10/20
to Quarkus Development mailing list
false alert ;) I forgot to add the quarkus-config-yaml dependency. it could have been nice to have quarkus complain or warn about finding application.yaml when support for yaml config has been added.

Georgios Andrianakis

unread,
Nov 10, 2020, 3:48:44 PM11/10/20
to vvs...@gmail.com, Quarkus Development mailing list
On Tue, Nov 10, 2020 at 10:45 PM V. Sevel <vvs...@gmail.com> wrote:
false alert ;) I forgot to add the quarkus-config-yaml dependency. it could have been nice to have quarkus complain or warn about finding application.yaml when support for yaml config has been added.

That is a very good idea. Mind opening an enhancement issue for this?

Le mardi 10 novembre 2020 à 21:24:51 UTC+1, gand...@redhat.com a écrit :
It shouldn't matter if you .properties or .yaml, but if you have a reproducer indicating otherwise, please open an issue

On Tue, Nov 10, 2020 at 9:46 PM V. Sevel <vvs...@gmail.com> wrote:
hello,
it seems that using complex configuration objects as described in https://quarkus.io/guides/config#using-configproperties is supported for application.properties but not for application.yaml
is that correct?
if so, is it planned?
thanks,
vincent

--
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/18fda156-f3b0-4978-af1d-713804dd57can%40googlegroups.com.

--
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.

V. Sevel

unread,
Nov 11, 2020, 4:14:47 AM11/11/20
to Quarkus Development mailing list

Georgios Andrianakis

unread,
Nov 11, 2020, 4:50:26 AM11/11/20
to vvs...@gmail.com, Quarkus Development mailing list
Reply all
Reply to author
Forward
0 new messages