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

Spike an exception based approach #1698

Conversation

danielmarbach
Copy link
Collaborator

…urn type)

Proposed Changes

Please describe the big picture of your changes here to communicate to the
RabbitMQ team why we should accept this pull request. If it fixes a bug or
resolves a feature request, be sure to link to that issue.

A pull request that doesn't explain why the change was made has a much
lower chance of being accepted.

If English isn't your first language, don't worry about it and try to
communicate the problem you are trying to solve to the best of your abilities.
As long as we can understand the intent, it's all good.

Types of Changes

What types of changes does your code introduce to this project?
Put an x in the boxes that apply

  • Bug fix (non-breaking change which fixes issue #NNNN)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause an observable behavior change in existing systems)
  • Documentation improvements (corrections, new content, etc)
  • Cosmetic change (whitespace, formatting, etc)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating
the PR. If you're unsure about any of them, don't hesitate to ask on the
mailing list. We're here to help! This is simply a reminder of what we are
going to look for before merging your code.

  • I have read the CONTRIBUTING.md document
  • I have signed the CA (see https://cla.pivotal.io/sign/rabbitmq)
  • All tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in related repositories

Further Comments

If this is a relatively large or complex change, kick off the discussion by
explaining why you chose the solution you did and what alternatives you
considered, etc.

@danielmarbach danielmarbach changed the title Spike an exception based approach (misses removing the bool value ret… Spike an exception based approach Oct 4, 2024
@danielmarbach danielmarbach force-pushed the rabbitmq-dotnet-client-1682-spike branch 3 times, most recently from 35314d9 to 45f1c17 Compare October 4, 2024 11:04
@lukebakken lukebakken force-pushed the rabbitmq-dotnet-client-1682 branch from a11e32d to 04c2aaf Compare October 4, 2024 18:30
@lukebakken lukebakken force-pushed the rabbitmq-dotnet-client-1682-spike branch from a5d8c69 to 45b7dfa Compare October 4, 2024 18:31
@lukebakken lukebakken self-assigned this Oct 4, 2024
@lukebakken lukebakken added this to the 7.0.0 milestone Oct 4, 2024
@lukebakken lukebakken self-requested a review October 4, 2024 20:30
@lukebakken
Copy link
Contributor

@danielmarbach I like this much more than a bool. Would you like me to continue? I'm assuming that we need a specific exception type, and to revert to ValueTask for the BasicPublishAsync return value.

@danielmarbach
Copy link
Collaborator Author

Please go for it. I plan to mostly stay absent from coding next week to relax my mind

I'm assuming that we need a specific exception type, and to revert to ValueTask for the BasicPublishAsync return value.

Yes I think that would be good. Maybe the exception can also propagate the sequence number as a property?

@lukebakken
Copy link
Contributor

Yes I think that would be good. Maybe the exception can also propagate the sequence number as a property?

Yep, we're on the same page. Enjoy your vacation.

@lukebakken lukebakken marked this pull request as ready for review October 7, 2024 16:30
Copy link
Contributor

@lukebakken lukebakken left a comment

Choose a reason for hiding this comment

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

This is a much better approach! Merging, then I will continue via the rabbitmq-dotnet-client-1682 branch.

@lukebakken lukebakken merged commit bc1204b into rabbitmq:rabbitmq-dotnet-client-1682 Oct 7, 2024
7 checks passed
@danielmarbach danielmarbach deleted the rabbitmq-dotnet-client-1682-spike branch October 23, 2024 15:28
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