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

Expose the Symbol type #346

Merged
merged 1 commit into from
Nov 25, 2024
Merged

Expose the Symbol type #346

merged 1 commit into from
Nov 25, 2024

Conversation

mkuratczyk
Copy link

This PR make the encoding.Symbol type exposed as a public type Symbol.

We recently implemented AMQP Filter Expressions in RabbitMQ. If the client wants to filter based on a property, the property name should be encoded as a Symbol, therefore the client needs to be able to use a map[amqp.Symbol]any in amqp.NewLinkFilter

See https://github.com/rabbitmq/omq/blob/filter-properties/pkg/amqp10_client/consumer.go#L273-L279 for an example that works using a branch of go-amqp.

Thanks,

@mkuratczyk
Copy link
Author

mkuratczyk commented Oct 14, 2024

@microsoft-github-policy-service agree company="Broadcom"

Copy link
Member

@jhendrixMSFT jhendrixMSFT left a comment

Choose a reason for hiding this comment

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

Can you please merge/rebase on main to fix the merge conflict?

@mkuratczyk
Copy link
Author

Rebased.

@jhendrixMSFT jhendrixMSFT merged commit d6da295 into Azure:main Nov 25, 2024
5 checks passed
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