Skip to content

fix: support plugin message contents without a transport - #430

Merged
YOU54F merged 2 commits into
masterfrom
fix/plugin-message-without-transport
Oct 21, 2026
Merged

YOU54F merged 2 commits into
masterfrom
fix/plugin-message-without-transport

Conversation

@YOU54F

@YOU54F YOU54F commented Oct 21, 2026

Copy link
Copy Markdown
Member

has_plugin_async_message_pact_between always starts a mock server for the plugin's transport, so content-only plugins such as avro can't be used. The plain message builder already drives a content plugin and hands the reified bytes to the test, but only for protobuf.

Add MessageInteractionBuilder#with_plugin and #with_plugin_contents so any content plugin can be used on the message DSL, with specs for protobuf and avro (skipped when the avro plugin isn't installed).

YOU54F and others added 2 commits October 21, 2026 14:43
has_plugin_async_message_pact_between always starts a mock server for the
plugin's transport, so content-only plugins such as avro can't be used. The
plain message builder already drives a content plugin and hands the reified
bytes to the test, but only for protobuf.

Add MessageInteractionBuilder#with_plugin and #with_plugin_contents so any
content plugin can be used on the message DSL, with specs for protobuf and
avro (skipped when the avro plugin isn't installed).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@YOU54F
YOU54F force-pushed the fix/plugin-message-without-transport branch from ae05f6e to 0c9666a Compare October 21, 2026 13:45
@YOU54F
YOU54F merged commit 5daa370 into master Oct 21, 2026
18 checks passed
@YOU54F
YOU54F deleted the fix/plugin-message-without-transport branch October 21, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant