by xtrumanx · 11y ago · 0 comments
eg: { firstName, lastName } doesn't need to load new rows but { mother { name }, father { name } } does need to load new rows.
DataLoader (https://github.com/facebook/dataloader) is a small utility which makes batching and caching database requests straight forward.
If the JavaScript implementation doesn't have something like this, perhaps it can be hacked on top.