Skip to content

Conversation

@maciejdudko
Copy link
Contributor

What was changed

In BinaryProtoConverter.AssertProtoPayload, the exception thrown when the object had incorrect Proto type was not marked as format string and {desc.FullName} was not filled in properly. This PR makes the message a format string.

Why?

Bugfix.

Checklist

  1. How was this tested:
    Added PayloadConverterTests.ToValue_WrongProtoType_Fails.

@maciejdudko maciejdudko requested a review from a team as a code owner September 18, 2025 17:07
@maciejdudko maciejdudko merged commit 95f840a into temporalio:main Sep 18, 2025
10 checks passed
@maciejdudko maciejdudko deleted the bugfix-binary-proto-converter-assert-proto-payload branch September 18, 2025 17:49
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.

2 participants