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

Add module content to search results #2341

Merged
merged 2 commits into from Aug 3, 2023
Merged

Add module content to search results #2341

merged 2 commits into from Aug 3, 2023

Conversation

cyinma
Copy link
Member

@cyinma cyinma commented Aug 2, 2023

No description provided.

Copy link
Member

@mfridman mfridman left a comment

Choose a reason for hiding this comment

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

One endpoint to rule them all.

I don't have much context, but on the surface, it feels odd to slam all the possible search items under one RPC.

Searching within a module seems different than searching across the BSR for resource names.

string repository_owner = 2;
string repository_name = 3;
string proto_file_path = 4;
string fully_qualified_name = 5;
Copy link
Member

@paul-sachs paul-sachs Aug 2, 2023

Choose a reason for hiding this comment

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

We need to be able to build something like https://buf.build/acme/petapis/docs/main:pet.v1#pet.v1.PetStoreService, we kinda need to package name as well. Unless all fully qualified names can be transformed into package names easily. I'm not sure that's possible.

Copy link
Member Author

Choose a reason for hiding this comment

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

added a package name to it

@cyinma cyinma merged commit 43dbe53 into main Aug 3, 2023
10 checks passed
@cyinma cyinma deleted the cyinma/expand-search branch August 3, 2023 16:13
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.

None yet

3 participants