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

Recursive Queries in Angle? #442

Open
Boarders opened this issue May 20, 2024 · 1 comment
Open

Recursive Queries in Angle? #442

Boarders opened this issue May 20, 2024 · 1 comment
Assignees

Comments

@Boarders
Copy link

Boarders commented May 20, 2024

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
Copy link

LivewareIssue commented May 22, 2024

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).

@josefs josefs self-assigned this May 31, 2024
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

3 participants