Skip to content

Long lists of positional arguments on API methods #53

@edvald

Description

@edvald

This appears to be more of an upstream issue with swagger-codegen (ref swagger-api/swagger-codegen#7930) but I wanted to flag it here.

Basically as it stands, adding a new option is likely to break compatibility, and the usability isn't great as it is... To illustrate I just wrote this call: client.listNamespacedPod(namespace, undefined, undefined, undefined, undefined, labelSelector) - who knows what sequence the parameters will be in for the next k8s version :)

I'd at least suggest setting the appropriate configuration flag if the above issue gets resolved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions