Hey Dgraph-Team,
first thank you all for the great product you provide :).
For my question:
Based on a mutation I get different respectively missing results for the type information.
Mutation 1
mutation m {
addStuff(input: [
{ title: "Hello World!", user: "birnsen"}
])
{
__typename
}
}
Result 1
{
"data": {
"addStuff": {
"__typename": "AddStuffPayload"
}
}
}
Mutation 2
mutation m {
addStuff(input: [
{ title: "Hello World!", user: "birnsen"}
])
{
note {
id
__typename
}
__typename
}
}
Result 2
{
"data": {
"addStuff": {
"note": [{
"id": "0x15",
"__typename": "Stuff"
}]
}
}
}
Basically what I am missing is the "__typename": "AddStuffPayload"
part in the second mutation.
I use the Docker image with the v2.0.0-beta tag
Is this expected behavior? Can I do something to get the missing type info?
Thanks in advance