Closed aljazerzen closed 8 months ago
This could be related to the cardinality bug for ClientTokenIdentity
that we hardcoded a fix for in the compiler. Maybe it gets missed in this specific use case? Fixed in https://github.com/edgedb/edgedb/pull/6393 but 4.x still has the old hardcoded "fix" introduced in https://github.com/edgedb/edgedb/pull/6369
I don't get this failure on master or 4.2? (Though the access policy does fail, since select User
won't have the newly created User).
Or even in 4.0?
Hmmm, I'm able to reproduce this on c78a7d638, but not on 9c49debb2 or current master (b078d5de2).
I don't want to bisect this, but since it's fixed now, I assume that it was fixed intentionally and already has a test, so we can close.
Schema:
Query:
Problem:
We call
edgedbstd."std::json_get"
with(jsonb, jsonb[], text)
instead of(jsonb, jsonb, text)
.Call site:
The problematic
"json_claims~4"."claims_value~3"
comes from here: