Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Fix NamespaceClient.GetNamespaceInfoAsync() #638

Merged

Conversation

SeanFeldman
Copy link
Collaborator

Fixes #637

@SeanFeldman SeanFeldman self-assigned this Jan 24, 2019
@SeanFeldman SeanFeldman requested a review from nemakam January 24, 2019 04:11
@SeanFeldman SeanFeldman requested a review from a team as a code owner January 24, 2019 04:11
@SeanFeldman
Copy link
Collaborator Author

This will need to be a minor release as we're adding to the public API of an existing type NamespaceType.

@SeanFeldman
Copy link
Collaborator Author

@nemakam should we deprecate NamespaceType.ServiceBus or leave it as-is?

@@ -730,6 +730,7 @@ namespace Microsoft.Azure.ServiceBus.Management
public enum NamespaceType
{
ServiceBus = 0,
Messaging = 1,
Copy link
Contributor

Choose a reason for hiding this comment

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

This is actually not true. Problem is that ServiceBus is called Messaging in service side. Didnt realize when I renamed the enum. The correct thing is to rename ServiceBus to Messaging. But that is going to break things. So the alternative that I can think of is to manually handle the deserialization and if it is Messaging, then convert it to ServiceBus. :(

@SeanFeldman
Copy link
Collaborator Author

SeanFeldman commented Jan 25, 2019 via email

@SeanFeldman
Copy link
Collaborator Author

@nemakam updated

@SeanFeldman
Copy link
Collaborator Author

@nemakam could you please raise an issue for 4.0.0 milestone to address f10cae9#diff-4f0427b57425e52bf6ea1d62facac6b9R69? Thanks.

@SeanFeldman
Copy link
Collaborator Author

@nemakam please review

@SeanFeldman
Copy link
Collaborator Author

@nemakam who could review this?

Copy link
Contributor

@nemakam nemakam left a comment

Choose a reason for hiding this comment

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

:shipit:

@nemakam
Copy link
Contributor

nemakam commented Feb 12, 2019

I guess we could just leave it as-is.


In reply to: 457061141 [](ancestors = 457061141)

@nemakam nemakam added this to the 3.4.0 milestone Feb 12, 2019
@SeanFeldman SeanFeldman merged commit a4e4abb into Azure:dev Feb 12, 2019
@SeanFeldman SeanFeldman deleted the fix-namespaceclient-getnamespaceinfo branch February 12, 2019 00:58
@SeanFeldman SeanFeldman removed this from the 3.4.0 milestone Mar 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants