apollo-link-pagination
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -22,3 +22,5 @@ "use strict"; | ||
} | ||
operation.query = (_c = utilities_1.removeDirectivesFromDocument([{ name: foundDirective }], query)) !== null && _c !== void 0 ? _c : query; | ||
var doc = (_c = utilities_1.removeDirectivesFromDocument([{ name: foundDirective }], query)) !== null && _c !== void 0 ? _c : query; | ||
var cleanedQuery = client_1.gql(graphql_1.print(doc)); | ||
operation.query = cleanedQuery; | ||
if (appliedPolicies.includes(foundDirective)) { | ||
@@ -25,0 +27,0 @@ return; |
{ | ||
"name": "apollo-link-pagination", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A @pagination directive for GraphQL queries", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
13923
100