Can't use an @cypher generated scalar Boolean field as argument in a query


I have a tree-like structure of the same node type that are connected by a composed_of relationship. I used the @cypher directive in my schema file to calculate the boolean information if a node isLeaf or not.

If I query all the nodes via graphql or select specific ones by e.g. id everything is fine.

My problem is that I can't use the isLeaf attribute in a query to just get the leaves. The result is empty.

Is it not possible to use a by @cypher directive generated attribute as an attribute in a query?

Thanks for information.