Skip to content

Conversation

@CountRedClaw
Copy link
Collaborator

No description provided.

@github-actions github-actions bot added bug Something isn't working refactor labels Sep 11, 2025
@b41ex b41ex changed the title Feature/performance optimization feat: performance optimization for changelog build type Oct 3, 2025
@b41ex b41ex marked this pull request as ready for review October 3, 2025 12:35
@b41ex b41ex requested review from JayLim2 and makeev-pavel October 3, 2025 12:37
init: (lastIdentityProviderId: string | null) => Promise<void>
}

async function createCommonResolvers(): Promise<BuilderResolvers> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't need async here. All resolvers in this function should also not be async. They are synchronous and return a nested asynchronous function.

},
{
resolvers: builderResolvers,
resolvers: await createCommonResolvers(),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

after deleting async from createCommonResolvers, the 'await' should disappear here

}
}

export async function versionDocumentsResolver(): Promise<VersionDocumentsResolver> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a synchronous function

}
}

export async function rawDocumentResolver(): Promise<RawDocumentResolver> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a synchronous function

const response = await getPublishedDocumentRawBlob(packageId, version, slug)

const data = await response.blob()
const filename = response.headers.get('content-disposition')!.split('filename=')[1].slice(1, -1)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there any need to verify that we were able to get the filename?

b41ex added 4 commits October 13, 2025 13:36
…ring operations in prefix groups due to changes in behavior of isLoading flag in React Query 4
…ormance-optimization' into feature/performance-optimization
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Process whole specs for GraphQL and REST to collect per-operation data for build type changelog

4 participants