@maaft , Thanks for reporting this issue. This issue is present in 21.03.0 and has been fixed in 21.03.1 and any later versions. This was introduced in January when the changes related to parsing of DQL result to GraphQL JSON were made.
The issue has been fixed in master with the following PR, Fix(GraphQL): Fix GraphQL encoding in case of empty list by vmrajas · Pull Request #7726 · dgraph-io/dgraph · GitHub .