Anybody have any advice for query optimization in GraphQL? Seems to me so far that it’s pretty nice for flexibility with small datasets, but once your data gets really big you need precise control over how things are queried in order to take best advantage of indexes, and I’m finding it hard to manage that with GraphQL since queries are so dispersed. It often for me is hard to even figure out when queries might be triggered or why, which makes it harder to ensure they’re not called too much and/or not called in an ineffective way.
Also, have a look at Facebook's Dataloader[0].