I'm positive there's a way to only load the relevant data in your stack.
In Elixir with Absinthe we can resolve to the specific fields we need and we don't load the entire records then slim down.
In Elixir with Absinthe we can resolve to the specific fields we need and we don't load the entire records then slim down.
One annoying thing Absinthe did by default I noticed was fetching entire object from DB, even though the GraphQL query only returns it's ID. For example query below would fetch each person from a DB, even though we already had a list of person IDs on the friends level:
{
friends {
person {
id
}
}
}