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

Make BasicPublishBatch work with ReadOnlyMemory<byte> #816

Closed
wants to merge 3 commits into from

Conversation

Samuron
Copy link

@Samuron Samuron commented Apr 17, 2020

Hi guys!

Thank you for revamping the API of the client to use new primitives. I've found that BasicPublishBatch still uses byte[] for payload and found it inconsistent.

This is breaking change on the binary level AFAIU, but it should be compatible on recompile due to implicit conversions.

Not sure how it should be handled, feel free to close the PR.

@pivotal-issuemaster
Copy link

@Samuron Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-issuemaster
Copy link

@Samuron Thank you for signing the Contributor License Agreement!

@michaelklishin
Copy link
Member

I remember @bording or @stebet mentioned that there is an implicit conversion between those types. If that's the case, do we need this change at all? If not, this kind of change can only go into 7.0 as it changes a method signature?

Also highly relevant: #788.

@michaelklishin
Copy link
Member

Sorry, I now see the difference here from #788: this updates the batch publishing API.

@lukebakken lukebakken added this to the 7.0.0 milestone Apr 17, 2020
@lukebakken lukebakken self-assigned this Apr 17, 2020
@lukebakken
Copy link
Contributor

Yes, if accepted, this must be a 7.0 feature. It would have been nice to get this into 6.0 🤷

@danielmarbach
Copy link
Collaborator

An alternative non-breaking extension to support BasicPublishBatch #865. This could be added in 6.2

@danielmarbach
Copy link
Collaborator

The alternative has been merged. Closing

@lukebakken lukebakken modified the milestones: 8.0.0, 7.0.0 Mar 8, 2022
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.

5 participants