Even if we're only working with a single object, fetching its related resources in a custom way may still be useful (e.g. pre-fetching a subset of data for one of its reference fields).
This commit also makes it so that fetch_related_resources is called even if related_resources_hints is not specified on the resource. That's because subclasses can take advantage of this method (and when it's called) even if the original behavior (relying on related_resources_hints) does not matter.
Even if we're only working with a single object, fetching its related resources in a custom way may still be useful (e.g. pre-fetching a subset of data for one of its reference fields).
This commit also makes it so that
fetch_related_resources
is called even ifrelated_resources_hints
is not specified on the resource. That's because subclasses can take advantage of this method (and when it's called) even if the original behavior (relying onrelated_resources_hints
) does not matter.