Skip to content

Requires bracket notation when a key contains dots #7

Description

@afeblot

Kubernetes schemas have keys containing dots.
For example: io.k8s.api.core.v1.PodSecurityContext.

Taking definitions ==> io.k8s.api.core.v1.PodSpec ==> properties ==> affinity as an example:

  • It is rendered as definitions.io.k8s.api.core.v1.PodSpec.properties.affinity.
  • It should probably rather be rendered as definitions["io.k8s.api.core.v1.PodSpec"].properties.affinity, or maybe definitions."io.k8s.api.core.v1.PodSpec".properties.affinity.

By the way, with such a path the "Search nested key" function obviously doesn't work either, and should probably as well be able to understand the bracket notation for completeness.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions