Skip to content

Support literals in queries generator #1303

@mfenn

Description

@mfenn

Describe the proposed feature
It would be great if the queries generator supported literals. As an example would be a query like select Foo { discriminator := "bar", ... } would generate a Returns type like { discriminator: "bar", ... }. This way you could perhaps combine some result transforming code based on a discriminated union pattern.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions