Merge pull request #35 from yarcowang/master

Bug: _getQuery return empty value
This commit is contained in:
Tobe Osakwe 2019-11-22 08:41:49 -05:00 committed by GitHub
commit a82aa0aaae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ Map<String, dynamic> _fetchRequestInfo(Map<String, dynamic> arguments) {
Map<String, dynamic> _getQuery(Map<String, dynamic> arguments) { Map<String, dynamic> _getQuery(Map<String, dynamic> arguments) {
var f = Map<String, dynamic>.from(arguments)..remove('id')..remove('data'); var f = Map<String, dynamic>.from(arguments)..remove('id')..remove('data');
return f.isEmpty ? null : {}; return f.isEmpty ? null : f;
} }
/// A GraphQL resolver that `index`es an Angel service. /// A GraphQL resolver that `index`es an Angel service.