Skip to content

Support nested paths in field config specifically list type members #932

@mbaijal

Description

@mbaijal

Is your feature request related to a problem?
The ApplicationAutoscaling CRDs do not include the creationTime in Status even though it is a part of the describe API responses because of the list type response. An attempt to fix this by explicitly specifying the field in the generator config also fails since the getMemberByPath method does not support specifying nested paths as required by this field.

Basically, I am trying to add the CreationTime to the status field as follows and this does not work as expected -

ScalableTarget:
    fields:
      CreationTime:
        from: DescribeScalableTarget
        path: ScalableTargets..CreationTime

Describe the solution you'd like
Enable getMemberByPath to handle such list type paths.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/code-generationIssues or PRs as related to controllers or docs code generationkind/enhancementCategorizes issue or PR as related to existing feature enhancements.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions