Description
Currently when you realized a return success on groovy you can write it with or without a message like :
return success()
or
return success('Wonderfull ! ')
But if you need return some values you need to follow this pattern
Map result = success()
result.myId = myId
return result
I proposed to extend sur groovy dsl to write directly
return success(myId: myId)
or
return success('Wonderfull ! ', myId: myId)