@acrool/graphql-codegen-apollo-subscription
Advanced tools
Comparing version 3.0.1-test.8 to 3.0.1-test.9
@@ -20,3 +20,2 @@ "use strict"; | ||
const allAst = (0, graphql_1.concatAST)(documents.map(v => v.document)); | ||
console.log('allAst', allAst); | ||
const allFragments = [ | ||
@@ -43,4 +42,4 @@ // ...( | ||
content: [ | ||
visitor.fragments, | ||
// ...visitorResult.definitions.filter(t => typeof t === 'string'), | ||
// visitor.fragments, | ||
...visitorResult.definitions.filter(t => typeof t === 'string'), | ||
].join('\n'), | ||
@@ -47,0 +46,0 @@ }; |
@@ -102,3 +102,2 @@ "use strict"; | ||
// ); | ||
return ''; | ||
query.push(this.fetcher.generateSubscriptionHook(node, documentVariableName, operationName, operationResultType, operationVariablesTypes, hasRequiredVariables)); | ||
@@ -105,0 +104,0 @@ return query.join('\n'); |
{ | ||
"name": "@acrool/graphql-codegen-apollo-subscription", | ||
"version": "3.0.1-test.8", | ||
"version": "3.0.1-test.9", | ||
"description": "react-query for graphql-code-generator", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
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
41496
572