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

Refactor MessageAttributes #334

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

Admiral-Piett
Copy link
Owner

No description provided.

StringValue string `json:"StringValue,omitempty"`
type MessageAttribute struct {
BinaryListValues []string `json:"BinaryListValues,omitempty" xml:"BinaryListValues,omitempty"` // currently unsupported by AWS
BinaryValue []byte `json:"BinaryValue,omitempty" xml:"BinaryValue,omitempty"`
Copy link
Owner Author

Choose a reason for hiding this comment

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

@kojisaikiAtSony So, this PR is some significant work toward normalizing the MessageAttributes as we previously discussed. I think this piece specifically will solve your issue in #330. There's a lot of other overhaul here though I know.

What do you think? I can build it for you first if you'd like to test it before hand and make sure it works for your use cases. Let me know!

Copy link
Contributor

Choose a reason for hiding this comment

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

Great! We'll check this work is able to be alternative with #330!

@kojisaikiAtSony
Copy link
Contributor

@Admiral-Piett It looks good and it works on our app with latest AWS SDK for Java!
You can merge it and release 0.5.1!

@Admiral-Piett Admiral-Piett merged commit 5fdfff2 into refactor-models Nov 1, 2024
2 checks passed
@Admiral-Piett Admiral-Piett deleted the IS-328-fix-remove-empty-msg-attrs branch November 1, 2024 13:55
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.

3 participants