Carael / CrossBusExplorer

Cross platform Azure Service Bus explorer
MIT License
51 stars 6 forks source link

When resending a message it convert all properties to strings and i get Operator '==' cannot be applied to operands of type 'string' and 'long' #37

Closed andresparrab closed 9 months ago

andresparrab commented 1 year ago

Hello!

I have discover something that i hope you maybe can help me with as this is a mayor problem and i cant work with crossexplorer if icant find a solution to this.

Scenario: i have a message i want to resend. In the windows service bus explorer i resend and all the properties are sent as they where: Example: orderNumber 23434 (is an int) isCancel True ( is bollean) guid fadf343-3454fff-565g (string)

but when i send the same message in the crossexplorer all properties get converted into strings. So every topic that are listening to a certain type will get error as is expected to be an int or boolean or something but get strings.

I tried to make the screenshots to show the problem mentioned and i hope maybe there a way to send the messages with all properties types as the one in windows?

image image image

Carael commented 1 year ago

Ok now by default all values are converted into strings - the type information is lost while sending from ui. I will add this in next version since it's a big issue.

andresparrab commented 1 year ago

thank you appreciate it

Carael commented 9 months ago

Done in release 0.4.1