Skip to content

Why is Client.querys return type not a generic ResultIterator<T>? #66

Closed
@nitwhiz

Description

@nitwhiz

Client.query returns a ResultIterator<Value> (and Client.query does not take any type arguments). Is there a specific reason there is no optional type parameter passed down to Client.query and Client.execute?

How to type the results of Client.query?

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