apollo-client
Advanced tools
Comparing version 0.3.28 to 0.3.29
@@ -10,2 +10,7 @@ "use strict"; | ||
batchQuery: function (requests) { | ||
if (requests.length === 1) { | ||
return this.query(requests[0]).then(function (result) { | ||
return Promise.resolve([result]); | ||
}); | ||
} | ||
var composedRequest = queryMerging_1.mergeRequests(requests); | ||
@@ -12,0 +17,0 @@ return this.query(composedRequest).then(function (composedResult) { |
{ | ||
"name": "apollo-client", | ||
"version": "0.3.28", | ||
"version": "0.3.29", | ||
"description": "A simple yet functional GraphQL client.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
210329
3097