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

Fix Submit batch for messages of type string #776

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

ErikMogensen
Copy link
Collaborator

@ErikMogensen ErikMogensen commented Apr 23, 2024

Fixes #633

This PR changes the reading of messages of type string to be read using GetBody<string>() instead of GetBody<Stream>(), thus avoiding getting unwanted text in the message.

Also did an auto format which changed some whitespace.

Thanks to @Anshuljkt for his work on #764, which helped in creating this PR and to @flower7434 for the tip about reading messages.

Copy link
Collaborator

@SeanFeldman SeanFeldman left a comment

Choose a reason for hiding this comment

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

Looks good 👍

@SeanFeldman
Copy link
Collaborator

SeanFeldman commented Apr 23, 2024

Nit: The description is missing they key of the fix: GetBody() vs GetBody().
I fixed It.

@ErikMogensen ErikMogensen merged commit 9990a4f into paolosalvatori:main Apr 23, 2024
2 checks passed
@ErikMogensen ErikMogensen deleted the FixSubmitBathc branch April 23, 2024 16:19
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.

Resubmit Selected Messages In Batch Mode issue
2 participants