Skip to content

Idiomatic handling of Boolean params #5

@rabbiveesh

Description

@rabbiveesh

Is your feature request related to a problem? Please describe.
Sometimes, you need to make a request with a Boolean param. I had the experience
at the very least with the options for drive.files.list that you had to type in
the literal string 'true' or 'false'. That's a bit silly.

Describe the solution you'd like
I'd rather be able to just pass in a truthy or falsy value and have that coerced
into whatever google expects.

Additional context
I'll have to double check the options for drive.files.list.

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