@acrool/graphql-codegen-apollo-subscription
Advanced tools
Comparing version 3.0.1-test.5 to 3.0.1-test.6
@@ -11,3 +11,2 @@ "use strict"; | ||
const fetcher_custom_mapper_1 = require("./fetcher-custom-mapper"); | ||
const variables_generator_1 = require("./variables-generator"); | ||
class ReactQueryVisitor extends visitor_plugin_common_1.ClientSideBaseVisitor { | ||
@@ -104,6 +103,4 @@ constructor(schema, fragments, rawConfig, documents) { | ||
// ); | ||
return ''; | ||
query.push(this.fetcher.generateSubscriptionHook(node, documentVariableName, operationName, operationResultType, operationVariablesTypes, hasRequiredVariables)); | ||
if (this.config.exposeMutationKeys) { | ||
query.push((0, variables_generator_1.generateMutationKeyMaker)(node, operationName)); | ||
} | ||
return query.join('\n'); | ||
@@ -110,0 +107,0 @@ } |
{ | ||
"name": "@acrool/graphql-codegen-apollo-subscription", | ||
"version": "3.0.1-test.5", | ||
"version": "3.0.1-test.6", | ||
"description": "react-query for graphql-code-generator", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43953
594