Currently the way to specify what resource should fetch is by overriding _addParameterHandler or buildCollection. This should be generalised so that there is no need to override anything on the resource, but the needed options for fetch/fetchAll should be parsed based on projection options, thus model/collection should define what relations it needs and these can be overridden by query params.
Currently the way to specify what resource should fetch is by overriding _addParameterHandler or buildCollection. This should be generalised so that there is no need to override anything on the resource, but the needed options for fetch/fetchAll should be parsed based on projection options, thus model/collection should define what relations it needs and these can be overridden by query params.