Skip to content

Support aliases in selection sets #5

@tomhoule

Description

@tomhoule

We could use the #[serde(rename = "...")] attribute on the fields for the simple case.

Supporting this example from the spec however looks like it could be challenging:

https://github.com/facebook/graphql/blob/master/spec/Section%202%20--%20Language.md#field-alias

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions