Skip to content

Add module content to search results#2341

Merged
cyinma merged 2 commits intomainfrom
cyinma/expand-search
Aug 3, 2023
Merged

Add module content to search results#2341
cyinma merged 2 commits intomainfrom
cyinma/expand-search

Conversation

@cyinma
Copy link
Member

@cyinma cyinma commented Aug 2, 2023

No description provided.

@cyinma cyinma requested review from mfridman and paul-sachs August 2, 2023 21:48
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
Contributor

@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
@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.

3 participants