Skip to content

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Dec 20, 2024

Motivation:

To add the reflection service we need to fetch it and generate the appropriate code.

Modifications:

  • Update proto fetching script to get v1 reflection service
  • Update proto generating script to generate reflection service code and messages
  • Also add protos used in tests for the reflection service and generate their descriptor sets

Result:

Generated code is in place

@glbrntt glbrntt added the semver/none No version bump required. label Dec 20, 2024
@glbrntt glbrntt marked this pull request as ready for review December 20, 2024 11:10
@glbrntt glbrntt requested a review from gjcairo December 20, 2024 11:10
Motivation:

To add the reflection service we need to fetch it and generate the
appropriate code.

Modifications:

- Update proto fetching script to get v1 reflection service
- Update proto generating script to generate reflection service code and
  messages
- Also add protos used in tests for the reflection service and generate
  their descriptor sets

Result:

Generated code is in place
@glbrntt glbrntt force-pushed the fetch-and-generate-reflection branch from 859749a to 6bd9fe8 Compare December 20, 2024 11:12
@glbrntt glbrntt enabled auto-merge (squash) December 20, 2024 11:21
Comment on lines 101 to 102
# Messages were accidentally leaked into public API, they shouldn't be but we
# can't undo that change until the next major version.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does this still apply?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good catch, this was copy-pasta!

Comment on lines 101 to 102
# Messages were accidentally leaked into public API, they shouldn't be but we
# can't undo that change until the next major version.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good catch, this was copy-pasta!

Co-authored-by: Gus Cairo <me@gustavocairo.com>
@glbrntt glbrntt merged commit b7d8e22 into grpc:main Dec 20, 2024
21 checks passed
@glbrntt glbrntt deleted the fetch-and-generate-reflection branch December 20, 2024 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants