Repository navigation
[Quarkus 4] Adapt configuration handling to SmallRye Config 4 - #54827
Conversation
There was a problem hiding this comment.
The changes make sense, but I'm a little surprised at the new backslash handling being conditional on whether there is an expression.
If I'm understanding correctly the change note may need to call out more strongly that any usage of backslash needs reviewed - if the user were for example relying on \n becoming a newline, that will no longer happen unless the value contains an expression.
@shawkins I checked again the \n example with SmallRye Config 3 and 4 and just for the clarification, it goes the other way. Without an expression, \n stays literal in both versions. With an expression, it was literal in Config 3 and now becomes a newline in Config 4.
Anyway, I totally agree, I added a bullet point to call this out and show how to preserve a literal backslash. |
There was a problem hiding this comment.
@shawkins I checked again the \n example with SmallRye Config 3 and 4 and just for the clarification, it goes the other way. Without an expression, \n stays literal in both versions. With an expression, it was literal in Config 3 and now becomes a newline in Config 4.
Ugh, so even different than what I had recalled. Thanks for the changes, LGTM
Closes: keycloak#54735 Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
Closes: #54735