Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Explorer fails when computed property checks for link equality #351

Open
MiroslavPetrik opened this issue May 7, 2024 · 0 comments

Comments

@MiroslavPetrik
Copy link

MiroslavPetrik commented May 7, 2024

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,
  },
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant