Open dkrizan opened 1 year ago
Hello !
According to this documentation:
BrokerProperties {TimeToLive} is the number of seconds of the TimeSpan (double).
I thought the "number of seconds" would have been an integer but it says "double".
Feel free to work on a PR about this issue !
Description: While utilizing the package, I encountered an error related to type incompatibility within the constructor of
AzureBrokerPropertiesStamp
. The error message is:The method expects
$timeToLive
to be eithernull
orint
, but afloat
value is being passed in when message is received from queue.Steps to Reproduce:
Expected Behavior: The constructor should handle the provided value without a type error.
Possible Solution: Consider rounding the value to an integer before setting it to the class property
$timeToLive
or re-evaluating the method's signature and class property to accept float values.