edgedb-ui icon indicating copy to clipboard operation
edgedb-ui copied to clipboard

Data Explorer fails when computed property checks for link equality

Open MiroslavPetrik opened this issue 1 year ago • 0 comments

image image

Schema:

  type Product  {
    required link owner: User;
    property isOwn:= .owner = global current_user;
}

it works in the CLI:

project:edgedb> set global ext::auth::client_token := <str>"token";
OK: SET GLOBAL
project:edgedb> select Product {*};
{
  default::Product {
    id: 72681688-ea79-11ee-b966-87051dc599ee,
    isOwn: true,
  },
  default::Product {
    id: 3b8975a0-ea81-11ee-935a-a3e155aeab96,
    isOwn: false,
  },
}

MiroslavPetrik avatar May 07 '24 10:05 MiroslavPetrik