facebookincubator / Glean

System for collecting, deriving and working with facts about source code.
https://glean.software/
Other
962 stars 43 forks source link

Recursive Queries in Angle? #442

Open Boarders opened 5 months ago

Boarders commented 5 months ago

Is it possible to do recursive queries and if so what is the recommended way? For instance, in the schema in the example, is there an easy query that could list all the ancestor classes of "Goldfish" (in this case, it should give back "Fish" and "Pet" for example)?

LivewareIssue commented 5 months ago

Hi @Boarders, Glean doesn't currently support recursive queries - it is a planned feature, however.

For now, clients must implement the recursion (i.e. by making multiple queries).