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
or anythign really that uses a function like startsWith(),contains(),… it won’t work if it is null and you get a painless error along the lines of null does not have function `startsWith()``
Would it be possible to test this? To make sure that this is captured as it should at least look like this:
if: ctx.cool?.field?.startsWith('abc') ?: false
because that surpresses the error at least and the other processors work as intended (hopefully).
At least that we can highlight when somebody is using startsWith(), contains() and those thinks, inside the if clause on a processor level to ensure that they don’t break something?
The text was updated successfully, but these errors were encountered:
Based on e.g. elastic/integrations#8670 but when you do:
or anythign really that uses a function like
startsWith(),contains(),…
it won’t work if it is null and you get a painless error along the lines of null does not have function `startsWith()``Would it be possible to test this? To make sure that this is captured as it should at least look like this:
because that surpresses the error at least and the other processors work as intended (hopefully).
Best should be:
At least that we can highlight when somebody is using
startsWith(), contains()
and those thinks, inside theif
clause on a processor level to ensure that they don’t break something?The text was updated successfully, but these errors were encountered: