3 ms·
Yes, you could end up with multiple big joins. The advantage is that you're at least only doing a single query for those joins. What would be worse is performin
by lojack 11y ago
Yes, you could end up with multiple big joins. The advantage is that you're at least only doing a single query for those joins. What would be worse is performing joins on the client and doing three separate queries to get the data you need.
Also, keep in mind that this is a query language and not an API spec. If you want to allow clients to perform massive joins then GraphQL will facilitate that, but that's your decision to make. Ultimately you still need to decide what clients can and can not query.