@acrool/graphql-codegen-rtk-query
Advanced tools
Comparing version 0.0.3-test.1 to 0.0.3-test.2
@@ -103,2 +103,5 @@ "use strict"; | ||
// } | ||
if (operationType === 'Subscription') { | ||
this._hooks.push(this.generateSubscriptionHook(node, documentVariableName, operationName, operationResultType, operationVariablesTypes, hasRequiredVariables)); | ||
} | ||
const Generics = `${operationResultType}, IUseFetcherArgs<${operationVariablesTypes}>${hasRequiredVariables ? '' : ' | void'}`; | ||
@@ -121,5 +124,2 @@ const operationTypeString = operationType.toLowerCase(); | ||
} | ||
if (operationType === 'Subscription') { | ||
this._hooks.push(this.generateSubscriptionHook(node, documentVariableName, operationName, operationResultType, operationVariablesTypes, hasRequiredVariables)); | ||
} | ||
} | ||
@@ -126,0 +126,0 @@ return ''; |
{ | ||
"name": "@acrool/graphql-codegen-rtk-query", | ||
"version": "0.0.3-test.1", | ||
"version": "0.0.3-test.2", | ||
"description": "trk-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
20746