Skip to content

If all parameters are optional, make the top level object optional too #2044

Open
@Stono

Description

@Stono

When you have a single option, that's optional (for example namespace here), it'd be good if the whole options object was optional.

Currently you have to do .list({})

    public list({
        namespace,
    }: {
        namespace?: string,
    }): CancelablePromise<ListJobsResponse> 

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