From 87ff2392da88e241a65c3f5e4b49e53eb854ea8b Mon Sep 17 00:00:00 2001 From: Yarco Date: Thu, 26 Sep 2019 12:45:47 +0800 Subject: [PATCH] Bug: _getQuery return empty value --- angel_graphql/lib/src/resolvers.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/angel_graphql/lib/src/resolvers.dart b/angel_graphql/lib/src/resolvers.dart index b130eff2..6f789637 100644 --- a/angel_graphql/lib/src/resolvers.dart +++ b/angel_graphql/lib/src/resolvers.dart @@ -10,7 +10,7 @@ Map _fetchRequestInfo(Map arguments) { Map _getQuery(Map arguments) { var f = Map.from(arguments)..remove('id')..remove('data'); - return f.isEmpty ? null : {}; + return f.isEmpty ? null : f; } /// A GraphQL resolver that `index`es an Angel service.