Closed ghost closed 5 years ago
It would be nice if every constraint function in the builder had an optional argument for providing your own custom messages. Literally just an extra customMessage: String? = null argument.
customMessage: String? = null
You can do this with the hint extension function on Constraint. An example is shown in the second code block here.
hint
Constraint
Already taken care of :D
It would be nice if every constraint function in the builder had an optional argument for providing your own custom messages. Literally just an extra
customMessage: String? = null
argument.