If a field is null it still shows up in the response with a null value and the current implementation isn't DRY.
It would be super cool if you could just call:
render stopwatch
and have the renderer call toString() on everything and leave out fields if they are null.
There are a few places in ratpack.groovy with code like:
If a field is null it still shows up in the response with a null value and the current implementation isn't DRY. It would be super cool if you could just call:
and have the renderer call
toString()
on everything and leave out fields if they are null.