Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MULTIGET return subset of resource #113

Open
conrs opened this issue Sep 23, 2020 · 0 comments
Open

MULTIGET return subset of resource #113

conrs opened this issue Sep 23, 2020 · 0 comments
Labels
enhancement New feature or request JiraIssueCreated

Comments

@conrs
Copy link

conrs commented Sep 23, 2020

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 }
@sirishalal sirishalal added the enhancement New feature or request label Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request JiraIssueCreated
Projects
None yet
Development

No branches or pull requests

3 participants