Skip to content

[Feature request] Extract keys and values into objects instead of dotted.variable.names #95

@Daniel314

Description

@Daniel314

Hello,

The current 'kv' module stores extracted keys and values in 'dotted' notation (some.prefix.key1 = value1, some.prefix.key2 = value2, ...)
I would like to request that a variant of this request be added to the 'kv' module, where values are stored in object notation, instead
of dotted notation (e.g. [some][prefix][key1] = value1, [some][prefix][key2] = value2).

This becomes especially handy for nested keys (e.g. [some][prefix][keytop][keybottom]), so that all keys under 'keytop' can be renamed/moved en-masse to some other object.
I'm using a ruby { code => '' } block as my current workaround, but isn't as elegant.

Thanks,

 - Daniel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions