reslang
reslang copied to clipboard
MULTIGET return subset of resource
We had a need to return a summary of a resource for a paginated route, as parts of the resource are heavier to retrieve than others.
Unfortunately, when we implemented this, reslang did not support this functionality. I am not sure of it's current state.
e.g.
// structure
cat {
id: number
name: string
food_level: number
meow_count: number
}
// but paginated should return
{ id, name }