Skip to content

Commit

Permalink
cruft cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
svidgen committed Jul 13, 2023
1 parent 4d03b46 commit f8c62ff
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/graphql-docs-generator/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@ function isMetaIncluded(includeMetaData: boolean, operationsMap: any): operation
}

function renderOperation(operation: GQLTemplateOp): string {
// TODO: cleanup
// console.log('rendering operation', operation);
const templateStr = getOperationPartial();
const template = handlebars.compile(templateStr, {
noEscape: true,
Expand All @@ -132,8 +130,6 @@ function renderOperation(operation: GQLTemplateOp): string {
}

function renderFragments(fragments: Array<GQLTemplateFragment>, useExternalFragmentForS3Object: boolean): Map<string, string> {
// TODO: does it make sense to ferry operation details through in this map
// so that TypeScript downstream can map queries to types more safely?
const renderedFragments = new Map<string, string>();
if (fragments?.length) {
fragments.forEach(fragment => {
Expand Down

0 comments on commit f8c62ff

Please sign in to comment.