pier
1
I wrote this query to test something quickly:
If(false, true, null)
I expected it to return null
, but instead I got this error:
Error: Cannot read property 'error' of null
I’m guessing this is expected behavior, but can someone explain what’s going on?
ewan
2
That appears to be a Dashboard bug.
Your query returns null
in fauna-shell
, and from a client using the JavaScript driver.
Thanks for reporting this! I filed an issue, FE-1237. Hopefully we can get that fixed soon.
1 Like
pier
3
Thanks @ewan !
It seems the problem occurs whenever the result of a query is simply null
.
system
Closed
4
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.