ynput / ayon-backend

Server codebase with API access to AYON
Apache License 2.0
18 stars 14 forks source link

GraphQL: Filter folders by assignees #245

Closed martastain closed 3 weeks ago

martastain commented 3 weeks ago

Story

I want to list all folders with tasks assigned to a given list of users. It is currently possible by querying tasks, then parent folders and deduplicating. Having a filter directly on the folders resolver would mean much lower server load.

martastain commented 3 weeks ago

interesting. maybe folderNode could have "parentNodes" which would contain list of all parents?