You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation enforces that each argument must be of the exact same type. This behavior may not align with the intended functionality. The preference would be to allow different types for the two arguments, as long as they both implement the Into<String> trait.
The text was updated successfully, but these errors were encountered:
This is intentional, as I wanted to maintain type safety and reduce unexpected behavior. I'll add this on a list maybe we can make it configurable via some parameter, but I would prefer to stick with concrete types.
There are several functions within the codebase that accept multiple
<S: Into<String>>
arguments. Consider theset_credentials
function as an example:The current implementation enforces that each argument must be of the exact same type. This behavior may not align with the intended functionality. The preference would be to allow different types for the two arguments, as long as they both implement the
Into<String>
trait.The text was updated successfully, but these errors were encountered: