These are chat archives for oncue/knobs

27th
Jul 2016
Timothy Perrett
@timperrett
Jul 27 2016 02:40
@cquiroz so if i hear you properly, you want to only fall back for certain keys? How will knobs know what keys you want and which you dont?
Mike (stew) O'Connor
@stew
Jul 27 2016 02:44
@cquiroz it sounds to me that you can just load the default and then the other, and whatever values are present in the second will overwrite the vales from the default file
Timothy Perrett
@timperrett
Jul 27 2016 02:45
yeah @stew raises a good point - if multiple resources exist, then you end up with the aggregate of those, where key values are last writer wins
Carlos Quiroz
@cquiroz
Jul 27 2016 13:06
@timperrett I want to have a chain of configurations, e.g. files A, B, C and then search for key x.y and if it is found in A, take the value there, otherwise try to find it in B, etc
My experiments show that if x.y isn’t present in A it won’t try searching on B
Carlos Quiroz
@cquiroz
Jul 27 2016 13:41
Maybe it works the other way around? it should be present in A and can be overriden in B?