Closed alan994 closed 2 years ago
@tehmantra is this project still active?
@alan994 sorry have been on Xmas holidays. I Will get to this in the coming week 🙂
If I can help somehow, let me know. Tnx.
we have a couple of scenarios where we tried to register more than one operation with the same channel.
saunter breaks if you have multiple channel attributes with the same name. AsychAPI 2.3 spec supports more than one subscription and publishers under a single channel. It would be great if saunter also supports this.
@tehmantra Did you have a chance to look at this? Any open questions around this issue?
I have also encountered this issue, and am happy to propose a PR if I can get something to work. We also have a case where we have pub/sub on the same channel (Websockets)
Looking at the source code, it looks like Channel
can be declared as an attribute of a a class, but if it is, there is an expectation that the PublishOperation
and SubscribeOperation
are also class-level, not methods within that class. And of course, as we have seen, if we use Operation
and PublishOperation
/ SubscribeOperation
at the method level within a class, we can't use Operation
with the same name more than once due to the underlying data structure being a dictionary.
Any progress on this?
Fixed in v0.10.0 https://www.nuget.org/packages/Saunter/0.10.0
I have a simple scenario where in the same application I have publishing and subscribing code. Both operations are targeting the same topic (channel). When trying to generate a document I get an error.
The problem is here. Underlaying collection is
IDictionary
and, if I understood correctly, it is not possible to have the same channels declared multiple times in the same application. Are there any plans to support this scenario?