These are chat archives for oncue/knobs

1st
Apr 2016
RĂșnar
@runarorama
Apr 01 2016 00:51
@tarossi in Knobs, a config is not really an "object"
person {
  name = "Foo" 
  age = 23
}
is exactly equivalent to:
person.name = "Foo"
person.age = 23
RĂșnar
@runarorama
Apr 01 2016 01:07
Thinking of how it might be possible to do this with Knobs at the moment, you could do:
people {
  names = ["Tom", "Dick", "Harry"]
  ages = [23, 24, 25]
}
if you'd like to change the Typesafe loader to do that, you're welcome to