Skip to content
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

provider for usage examples from sourcegraph api #219

Merged
merged 1 commit into from
Jan 22, 2025
Merged

provider for usage examples from sourcegraph api #219

merged 1 commit into from
Jan 22, 2025

Conversation

beyang
Copy link
Member

@beyang beyang commented Dec 22, 2024

output.mp4

@beyang beyang changed the title provider for sourcegraph references endpoint provider for usage examples from sourcegraph api Dec 22, 2024
@beyang beyang requested a review from sqs December 22, 2024 23:44
return (
await Promise.all(
usages.flatMap(async usage => {
const blob = await graphqlClient.fetchBlob({
Copy link
Contributor

Choose a reason for hiding this comment

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

Curious on the need for this. Is the surroundingContext returned from findUsages not enough?

@beyang beyang merged commit 2fe038e into main Jan 22, 2025
13 checks passed
@beyang beyang deleted the bl/refs branch January 22, 2025 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants