Currently, passing a non-string parameter crashes the app.
Changed buildUrl function to accept non-string parameters that can be converted to a string, e.g. boolean, int, etc.
How did you implement it:
Checking if the parameter implements ifToStr interface. If it does, then the value is converted and used, otherwise a warning is printed in the telnet
How can we verify it:
Todos:
[X] Write documentation (if required)
[X] Fix linting errors
[X] Enable "Allow edits from maintainers" for this PR
[X] Update the messages below
Is this ready for review?: YES
Is it a breaking change?: NO
What did you implement:
Currently, passing a non-string parameter crashes the app. Changed
buildUrl
function to accept non-string parameters that can be converted to a string, e.g. boolean, int, etc.How did you implement it:
Checking if the parameter implements
ifToStr
interface. If it does, then the value is converted and used, otherwise a warning is printed in the telnetHow can we verify it:
Todos:
Is this ready for review?: YES Is it a breaking change?: NO