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
While this is incorrect, it's something we can correct. Currently, storefront will error with a hard to read stack trace from deep in library when it tries to use a string method on the array.
As a fix, if we come across an includes array we should correct it by running [].join(',')
The text was updated successfully, but these errors were encountered:
Technically, includes should be a string.
However, I've come across times in the real world when it's passed an array.
While this is incorrect, it's something we can correct. Currently, storefront will error with a hard to read stack trace from deep in library when it tries to use a string method on the array.
As a fix, if we come across an includes array we should correct it by running
[].join(',')
The text was updated successfully, but these errors were encountered: