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.