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
Issue: as the transports validation uses in to loop through items of array it bring the method defined array through prototype.
fix: use 'of' instead of 'in' ,because 'in' iterates over all enumerable property keys of an object * including the method cause invalid validation error, "of" only iterates through the values of objects.
The text was updated successfully, but these errors were encountered:
thirug010
changed the title
Array.prototype methods cause validation error in the expected transports[<mehtod>] to be 'string'
Array.prototype methods cause validation error in the expected transports[<method>] to be 'string'
Apr 7, 2023
Issue: as the transports validation uses in to loop through items of array it bring the method defined array through prototype.
fix: use 'of' instead of 'in' ,because 'in' iterates over all enumerable property keys of an object * including the method cause invalid validation error, "of" only iterates through the values of objects.
The text was updated successfully, but these errors were encountered: