Skip to content

Aliases are not supported in map keys #645

Open
@astudnev

Description

@astudnev

when i query

{
    hello{
        alias1: id
        alias2: id
    }
}

and submit the map

{
    hello{
        alias1: "1"
        alias2: "2"
    }
}

it returns nil for both aliases

Expected result is alias1 :"1" and "alias2": "2"

There is another case... when i query

{
    hello{
        id
        alias2: id
    }
}

and submit the map

{
    hello{
        id: "1"
       alias2: "2"
    }
}

it returns alias2: "1" and id: "1"

Expected result is id :"1" and "alias2": "2"

both results are wrong!

It may be covered in PR #630 but i have not tested all possible cases

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