Skip to content

what is the right way to configure list of object? #48355

Closed Answered by abvaidya
abvaidya asked this question in Q&A
Discussion options

You must be logged in to vote

Apparently quarkus-config-yaml / smallrye expects kebab-case config keys so when i switched to

server:
  idp:
    custom:
      client-ids:
         - client-id: aa
           key: value1
         - client-id: bb
           key: value2

and used @WithName annotation on my mapping interface, it worked as expected.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by abvaidya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
1 participant