Skip to content

Navigation Menu

Sign in
Sign up

docs: add grpc+protobuf example - #1639

Open
JP-Ellis wants to merge 4 commits into
main from
docs/grpc-protobuf-example
Open

docs: add grpc+protobuf example #1639
JP-Ellis wants to merge 4 commits into
main from
docs/grpc-protobuf-example

Conversation

@JP-Ellis

@JP-Ellis JP-Ellis commented Jun 29, 2026

Copy link
Copy Markdown
Member

📝 Summary

Add a complete Protobuf over gRPC example.

(削除) 🚨 Breaking Changes (削除ここまで)

🔥 Motivation

Showcases a more complex example of plugins working within the Pact ecosystem.

🔨 Test Plan

Example is the tested.

🔗 Related issues/PRs

CLoses: #1092

nsutcliffe reacted with heart emoji
@JP-Ellis JP-Ellis self-assigned this Jun 29, 2026

codecov Bot commented Jun 29, 2026
edited
Loading

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74%. Comparing base (068debe) to head (80a3d8b).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@ Coverage Diff @@
## main #1639 +/- ##
====================================
 Coverage 74% 74% 
====================================
 Files 36 36 
 Lines 4042 4042 
====================================
+ Hits 3010 3015 +5 
+ Misses 1032 1027 -5 
Flag Coverage Δ
examples 38% <ø> (+<1%) ⬆️
tests 73% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

JP-Ellis force-pushed the docs/grpc-protobuf-example branch 2 times, most recently from 83b93d8 to fa1b8a7 Compare June 30, 2026 01:36
JP-Ellis added 4 commits June 30, 2026 11:48
Add a complete Protobuf over gRPC example
Signed-off-by: JP-Ellis <josh@jpellis.me>
Signed-off-by: JP-Ellis <josh@jpellis.me>
Each example now has its own pyproject used in CI. During development,
the example dependency group ensures that completions/typechecking work.
Signed-off-by: JP-Ellis <josh@jpellis.me>
Signed-off-by: JP-Ellis <josh@jpellis.me>
JP-Ellis force-pushed the docs/grpc-protobuf-example branch from fa1b8a7 to 80a3d8b Compare June 30, 2026 01:48

Copy link
Copy Markdown

<3

JP-Ellis commented Jul 6, 2026

Copy link
Copy Markdown
Member Author

@nsutcliffe Thanks! FYI: implementing this did reveal a bit of a footgun in the FFI (specifically, there are separate write functions which look similar, but behave differently), and I'm looking into fixing it there first, instead of implementing a bespoke workaround in Pact Python. Stay tuned :)

Copy link
Copy Markdown

thank you I have been looking for a grpc example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Add a complete gRPC example

AltStyle によって変換されたページ (->オリジナル) /