Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

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
9 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
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