manishrjain commented :
This is tricky, because the behavior would have to be different if you ran this query instead:
{
product(func: uid(0x70980)) {
name : <http://schema.org/name>
description : <http://schema.org/description>
image {
url, thumbnail
}
}
}
Because image would then have 2 fields, it would have to be a JSON map. So, I think it only increases code complexity – because depending upon how many fields were asked for, the user would need to switch how they parse the response. Either as a list of strings or as a list of objects.