Mossharbor / AzureWorkArounds.ServiceBus

Implmentations of Missing Dotnet Core Azure Service Bus functionality around Queues/Topics/Subsccriptions/Event Hubs
MIT License
6 stars 4 forks source link

Fix IndexOutOfRangeException for topics with multiple subscriptions #8

Closed 0xced closed 6 years ago

0xced commented 6 years ago

feed.entry[i].content.SubscriptionDescription[i] would throw with i > 0 since there is actually only one SubscriptionDescription element

Also, simplify both GetRules() and GetSubscriptions() implementations by reusing the GetFeedItems() function

Mossharbor commented 6 years ago

should be fixed in 1.0.18 being indexed on nuget now. Thanks for the submission!!

Mossharbor commented 6 years ago

I also added another test for getting descriptions on a topic with multiple subscriptions.