Closed hopengfoong closed 6 years ago
Hello @hopengfoong - thanks for reaching out. You are right on all points, feel free to submit a PR that fixes this!
@pardahlman Thanks for the reply! :) I've submitted the PR here https://github.com/pardahlman/RawRabbit/pull/296 :)
DeclareQueueExtension has an extension method that accepts a
QueueDeclaration
. https://github.com/pardahlman/RawRabbit/blob/e4b6081ee3d057bfaa4b634d92e5a23a7d0de6c1/src/RawRabbit.Operations.Tools/DeclareQueueExtension.cs#L17Should DeclareExchangeExtension have a similar method? Right now it only has this method: https://github.com/pardahlman/RawRabbit/blob/e4b6081ee3d057bfaa4b634d92e5a23a7d0de6c1/src/RawRabbit.Operations.Tools/DeclareExchangeExtension.cs#L16
Also, I've noticed that pipe here is named
DeclareQueueAction
. Should it beDeclareExchangeAction
instead? https://github.com/pardahlman/RawRabbit/blob/e4b6081ee3d057bfaa4b634d92e5a23a7d0de6c1/src/RawRabbit.Operations.Tools/DeclareExchangeExtension.cs#L12-L14