graphql icon indicating copy to clipboard operation
graphql copied to clipboard

u- return alias field

Open wenj91 opened this issue 2 years ago • 2 comments

query:

{
    hello{
        idAlias:id
        id
        world
    }
}

return:

map[string]interface{} {
    "idAlias": 1,
    "id": 2,
    "world": "world"
}

before result:

{
    "idAlias": 2,
    "id": 2,
    "world": "world"
}

expect:

{
    "idAlias": 1,
    "id": 2,
    "world": "world"
}

this PR fix this issue

wenj91 avatar Apr 28 '22 13:04 wenj91

Coverage Status

Coverage decreased (-0.02%) to 91.971% when pulling 424d61d4ff28d77b5af929c9d4acd479975ac28c on wenj91:master into f02a1c961028d3ba7ac6bb22eaa09b31a2cb53dd on graphql-go:master.

coveralls avatar Apr 28 '22 13:04 coveralls

I met with the same issue... any plans to merge it?

astudnev avatar Sep 04 '22 08:09 astudnev