Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aliases are not supported in map keys #645

Open
astudnev opened this issue Sep 4, 2022 · 0 comments
Open

Aliases are not supported in map keys #645

astudnev opened this issue Sep 4, 2022 · 0 comments

Comments

@astudnev
Copy link

astudnev commented Sep 4, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant