Skip to content

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Mar 5, 2025

Motivation:

v1 generated reflection data via the protoc plugin; this wasn't remvoed from v2 but the v2 reflection servcice doesn't use data in the same format. Instead, v2 expects users to invoke protoc directly to generate a descriptor set. This makes the option redundant: it can be called but the output can't be used.

Modifications:

  • Remove the reflection data generating code and have the option throw an error.

Result:

Less code

Motivation:

v1 generated reflection data via the protoc plugin; this wasn't remvoed
from v2 but the v2 reflection servcice doesn't use data in the same
format. Instead, v2 expects users to invoke protoc directly to generate
a descriptor set. This makes the option redundant: it can be called but
the output can't be used.

Modifications:

- Remove the reflection data generating code and have the option throw
  an error.

Result:

Less code
@glbrntt glbrntt added the 🔨 semver/patch No public API change. label Mar 5, 2025
@glbrntt glbrntt requested a review from gjcairo March 5, 2025 15:30
@glbrntt glbrntt merged commit 237ca5f into grpc:main Mar 5, 2025
26 checks passed
@glbrntt glbrntt deleted the remove-reflection branch March 5, 2025 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants