|
|
|
I have a hibernate-validation message that interpolates a value {{$\{value\}}}.
Issue is, that the value variable itself is a string of the form " {{ $ \ {ohno \ } }} ". I'd like my final interpolated message to replace {{ $ \ {value \ } }} with this literal string " {{ $ \ {ohno \ } } " but instead it seems to attempt some sort of recursive interpolation which produces the error "Cannot find property ohno".
I can't really thing of a way to "escape" this string in the message template. Perhaps I can escape it in the string itself before I pass it to the annotation but I'd rather not have to do that (I use this string as a literal elsewhere).
|
|
|
|