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

Add SPM plugin for GRPC code generation #1474

Merged
merged 5 commits into from
Aug 31, 2022
Merged

Conversation

gjcairo
Copy link
Collaborator

@gjcairo gjcairo commented Aug 30, 2022

Motivation

After adding an SPM plugin for protobuf generation, we want to offer the same feature for GRPC code generation.

Modifications

  • Added a GRPC codegen SPM plugin

Result

GRPC codegen SPM plugin is now available.

@glbrntt
Copy link
Collaborator

glbrntt commented Aug 30, 2022

@gjcairo can you split this into two PRs? One to add an SPM plugin and another to adopt it in the QPS benchmark?

## Motivation

After adding an SPM plugin for protobuf generation, we want to offer the same feature for GRPC code generation.

## Modifications

* Added a GRPC codegen SPM plugin

## Result

GRPC codegen SPM plugin is now available.
Package.swift Outdated Show resolved Hide resolved
Package.swift Outdated Show resolved Hide resolved
Package.swift Outdated Show resolved Hide resolved
Package.swift Outdated Show resolved Hide resolved
Performance/QPSBenchmark/Package.swift Outdated Show resolved Hide resolved
Sources/protoc-gen-grpc-swift/Docs.docc/spm-plugin.md Outdated Show resolved Hide resolved
Sources/protoc-gen-grpc-swift/Docs.docc/spm-plugin.md Outdated Show resolved Hide resolved
Sources/protoc-gen-grpc-swift/Docs.docc/spm-plugin.md Outdated Show resolved Hide resolved
Sources/protoc-gen-grpc-swift/Docs.docc/spm-plugin.md Outdated Show resolved Hide resolved
@gjcairo gjcairo marked this pull request as ready for review August 30, 2022 14:32
@gjcairo gjcairo requested review from FranzBusch and glbrntt and removed request for FranzBusch August 31, 2022 07:52
Copy link
Collaborator

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

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

One nit, looks good otherwise. I'll let @FranzBusch also review as he has more expertise here.

@glbrntt glbrntt added the 🆕 semver/minor Adds new public API. label Aug 31, 2022
@gjcairo gjcairo requested a review from FranzBusch August 31, 2022 09:58
@gjcairo gjcairo requested a review from FranzBusch August 31, 2022 11:33
Copy link
Collaborator

@FranzBusch FranzBusch left a comment

Choose a reason for hiding this comment

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

LGTM!

@FranzBusch FranzBusch merged commit 964a877 into grpc:main Aug 31, 2022
@gjcairo gjcairo deleted the spm-plugin branch September 6, 2022 09:27
WendellXY pushed a commit to sundayfun/grpc-swift that referenced this pull request Aug 24, 2023
* Add SPM plugin for GRPC code generation

## Motivation

After adding an SPM plugin for protobuf generation, we want to offer the same feature for GRPC code generation.

## Modifications

* Added a GRPC codegen SPM plugin

## Result

GRPC codegen SPM plugin is now available.

* PR changes

* Folder rename

* Fixes typo in docs

* Changes in docs
pinlin168 pushed a commit to sundayfun/grpc-swift that referenced this pull request Aug 24, 2023
* Add SPM plugin for GRPC code generation

## Motivation

After adding an SPM plugin for protobuf generation, we want to offer the same feature for GRPC code generation.

## Modifications

* Added a GRPC codegen SPM plugin

## Result

GRPC codegen SPM plugin is now available.

* PR changes

* Folder rename

* Fixes typo in docs

* Changes in docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆕 semver/minor Adds new public API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants