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
Currently, the SingleFilterSearchRequest interface in the intercom-node library does not enforce that the value property be an array when the operator is set to "IN" or "NIN". This can lead to runtime errors if a string is provided instead of an array.
Proposed Solution:
Modify the SingleFilterSearchRequest interface to ensure type safety by differentiating between operators that require an array for value and those that do not.
The text was updated successfully, but these errors were encountered:
Description:
Currently, the
SingleFilterSearchRequest
interface in theintercom-node
library does not enforce that thevalue
property be an array when theoperator
is set to"IN"
or"NIN"
. This can lead to runtime errors if a string is provided instead of an array.Proposed Solution:
Modify the
SingleFilterSearchRequest
interface to ensure type safety by differentiating between operators that require an array forvalue
and those that do not.The text was updated successfully, but these errors were encountered: