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
User specifies a function body without a return statement. e.g.
'hello';
or a non existing property:
returnhello.idontexist
currently the preview window stays empty
Expected behavior 🤔
it shows undefined
Steps to reproduce 🕹
Steps:
create query
enable transforn
add function body: return;
press "preview"
Context 🔦
Additionally to enlarge the pit of success we could add
a short helper text + link to docs about what sort of code should be entered in the transform editor
an info message when the preview returns undefined that asks the user whether they perhaps forgot a return statement, or are accessing a non-existing property. We should probably not make this an error as there may be valid use-cases
Your environment 🌎
No response
The text was updated successfully, but these errors were encountered:
Duplicates
Latest version
Current behavior 😯
User specifies a function body without a return statement. e.g.
or a non existing property:
currently the preview window stays empty
Expected behavior 🤔
it shows
undefined
Steps to reproduce 🕹
Steps:
return;
Context 🔦
Additionally to enlarge the pit of success we could add
undefined
that asks the user whether they perhaps forgot a return statement, or are accessing a non-existing property. We should probably not make this an error as there may be valid use-casesYour environment 🌎
No response
The text was updated successfully, but these errors were encountered: