You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to reduce the amount of data being transferred from a resource, is it possible to provide a query args to return a set of fields?
Sometimes, we don't need all attributes of an object but a couple of them.
It would require too many custom routes to expose the different set of attributes we would need.
Here a few examples to describe it:
And pass the attributes you want to include in the body of the GET request. Not sure if it's the best practice (and probably way too late response anyway), but I guess it's an option 🤷
In order to reduce the amount of data being transferred from a resource, is it possible to provide a query args to return a set of fields?
Sometimes, we don't need all attributes of an object but a couple of them.
It would require too many custom routes to expose the different set of attributes we would need.
Here a few examples to describe it:
The text was updated successfully, but these errors were encountered: