[Playground] Support AND and BUT NOT operators in the graph #107
Replies: 2 comments
|
Hey @andreadistefano! Apologies if the UX was not clear, the model you have is correct. So for the following model: type user
type resource
relations
define writer as self
define reader as self and writerIf you try running the following query: You might get one of two responses:
I updated your ticket to be a feature request for us. If you have any suggestions or thoughts on what the graph should look like, please do share them! (cc @matthewpereira ) |
|
Thanks, everything is much clearer now! |


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi!
I'm trying to implement a model with Blocklists on different levels of my hierarchy, in order to define something like:
I tried with a model like this:
Unfortunately, the playground wouldn't let me save my model, and all the
but not denywere marked as syntax errors.So I tried to be smart and changed my model to this:
Now the syntax is correct, but when I try to run some assertions I get the error
AND and BUT NOT operators are currently not supported on this graph.Am I doing something wrong? Is there any other way to do what I'm trying to do?
Thanks!
EDIT: I'll add an example that hopefully clarifies what I'm trying to do.
My data is something like:
I'd like to be able to do something like this:
All reactions