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

GRPC reflection v1 #48

Merged
merged 2 commits into from Sep 7, 2023
Merged

GRPC reflection v1 #48

merged 2 commits into from Sep 7, 2023

Conversation

olegbespalov
Copy link
Collaborator

What?

These changes bring support to the GRPC reflection v1 (while keeping the support of the v1alpha)

It also refactors the logic of collecting file descriptors by simplifying it.

Why?

Resolves: #14
Resolves: #32 (if this PR merged we don't need to port)

This introduces support of the reflaction v1 (and presume support of the
reflection v1alpa)
@olegbespalov olegbespalov marked this pull request as ready for review September 5, 2023 09:31
@olegbespalov olegbespalov requested a review from a team as a code owner September 5, 2023 09:31
@olegbespalov olegbespalov requested review from mstoykov and codebien and removed request for a team September 5, 2023 09:31
Copy link
Contributor

@codebien codebien left a comment

Choose a reason for hiding this comment

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

(while keeping the support of the v1alpha)

I don't think we are covering it with any test. Can we add one, please? Otherwise, it seems to me we are just saying that eventually it could work.

grpc/client_test.go Show resolved Hide resolved
Copy link
Contributor

@codebien codebien left a comment

Choose a reason for hiding this comment

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

I see as Register registers both alphav1 and v1.

@olegbespalov
Copy link
Collaborator Author

Anyway, I've added the test case where service implements only v1alpha

@olegbespalov olegbespalov merged commit d867b7a into main Sep 7, 2023
10 checks passed
@olegbespalov olegbespalov deleted the feat/grpc-reflection-v1 branch September 7, 2023 12:58
@olegbespalov olegbespalov mentioned this pull request Sep 19, 2023
5 tasks
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.

Backport "Added Nil Check for Package in File Descriptor" Migrate to the GRPC's reflection v1
3 participants