Skip to content

Add a type that determines if a query type is an incremental query or not #12708

Open
@jerelmiller

Description

@jerelmiller

With the changes in #12700, it is now possible to add your own Streaming type implementation to better type narrow the dataState: "streaming" case to the proper type. We currently have no way, however, to determine whether a query type actually includes a @deferdirective, sodataStateis at minimum a union ofcomplete | streaming`.

We'd like a way to remove streaming from the union with an additional type that can determine if its an incremental type or not. By default, the implementation should return true to maintain backwards compatibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions