Skip to content

dimensions with predicate? #112

@btm1

Description

@btm1

is it possible to specify dimensions for objects that have name spaced properties?

i.e.
how would i create a dimension for days.value in the object blow

{
    "days": {
        "value":"foo"
    }
}

as far as I can tell the dimension is just the key value on the map or is there an alternate way of defining it?

if I might suggest... you're looking for certain properties in each dimensions object like axis and type and you're use the key value as the thing to watch on the model but what if you just added a condition that went one level deeper on the model if the model[dimensionKey] is an object... before looking to return a value

or... you could allow dimension keys to be strings with dot syntax i.e. "some.value" as the key for a dimension

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