Slackbot
05/31/2022, 4:05 PMeric
05/31/2022, 4:06 PMfeatures {
specialFeature(option1 = true, option2 = true)
}
then from groovy it just ends up being kind of a mess with context-less booleans
features {
specialFeature(true, true)
}
is there a way to get named parameters in groovy? or would the recommendation be to turn this into a closure for something more like this?
features {
specialFeature {
option1 = true
option2 = true
}
}
Chris Lee
05/31/2022, 4:09 PMChris Lee
05/31/2022, 4:09 PMeric
05/31/2022, 4:10 PMChris Lee
05/31/2022, 4:10 PMThomas Broyer
05/31/2022, 4:13 PMeric
05/31/2022, 4:18 PMeric
05/31/2022, 4:18 PMeric
05/31/2022, 4:19 PMThomas Broyer
05/31/2022, 4:20 PMeric
05/31/2022, 4:20 PMCristianGM
05/31/2022, 9:39 PM