Skip to content

Constants are no longer visible #819

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

Closed
danlyons-home opened this issue Apr 17, 2020 · 2 comments · Fixed by #833
Closed

Constants are no longer visible #819

danlyons-home opened this issue Apr 17, 2020 · 2 comments · Fixed by #833
Labels
Milestone

Comments

@danlyons-home
Copy link

danlyons-home commented Apr 17, 2020

As part of streamlining the public API surface in #714, the RabbitMQ.Client.Framing.Constants type was made internal. However, it is still referenced in the API documentation for ShutdownEventArgs.ReplyCode.

It should probably be made public again (possibly moving it to a different namespace - e.g., RabbitMQ.Client.Constants) or replaced with something else.

@michaelklishin michaelklishin added this to the 6.0.1 milestone Apr 17, 2020
@lukebakken lukebakken modified the milestones: 6.0.1, 6.1.0 Apr 17, 2020
@bording
Copy link
Collaborator

bording commented Apr 17, 2020

As I just commented on #714 (comment), ReplyCode should be an enum instead of needing a separate class to interpret the values.

Of course changing that now would be a breaking change, so I guess in the mean time, opening that class back up is a short-term fix.

@lukebakken
Copy link
Collaborator

@danlyons-softek @goldenbull - we'd be happy to review a pull request to implement this suggestion:

so I guess in the mean time, opening that class back up is a short-term fix.

I may or may not have time to get to it soon.

lukebakken added a commit that referenced this issue May 13, 2020
lukebakken added a commit that referenced this issue May 13, 2020
Excellent suggestion from @bording

Part of #819
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants