-
Couldn't load subscription status.
- Fork 1
feat: performance optimization for changelog build type
#159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
…re/performance-optimization # Conflicts: # package.json
changelog build type
| init: (lastIdentityProviderId: string | null) => Promise<void> | ||
| } | ||
|
|
||
| async function createCommonResolvers(): Promise<BuilderResolvers> { |
There was a problem hiding this comment.
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(), |
There was a problem hiding this comment.
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> { |
There was a problem hiding this comment.
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> { |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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?
…ernal changes and OAS extension changes
… based on new api-processor contract
…ct for prefix groups
… groups comparison, e.g. remove servers
…ring operations in prefix groups due to changes in behavior of isLoading flag in React Query 4
…refix groups in api-processor
…ormance-optimization' into feature/performance-optimization
No description provided.