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

Update fetch and generate scripts for reflection #20

Merged
merged 3 commits into from
Dec 20, 2024

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!

dev/protos/generate.sh Outdated Show resolved Hide resolved
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!

dev/protos/generate.sh Outdated Show resolved Hide resolved
dev/protos/generate.sh Outdated Show resolved Hide resolved
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