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
I'd like to propose a response for batch requests similar to the pagination response that is provided for "find" methods.
I've implemented the following as a hook and found it very useful in quickly summarizing the results of a batch request via the REST API.
[
total: 2,
fulfilled: 1,
rejected: 1,
data: {
"status": : "fulfilled",
"value": { /* user object returned by app.service('users').get(1) */ }
}, {
"status": : "rejected",
"reason": { /* error JSON or object with error message */ }
}
]
I'd like to know if this is something that would be deemed outside the scope (and solvable easily with a hook) or perhaps would this run afoul of some other Feathers ethos.
Thank you.
The text was updated successfully, but these errors were encountered:
sokulski
changed the title
Feather Request - Summarize Batch Results
Feature Request - Summarize Batch Results
May 4, 2021
I'd like to propose a response for batch requests similar to the pagination response that is provided for "find" methods.
I've implemented the following as a hook and found it very useful in quickly summarizing the results of a batch request via the REST API.
I'd like to know if this is something that would be deemed outside the scope (and solvable easily with a hook) or perhaps would this run afoul of some other Feathers ethos.
Thank you.
The text was updated successfully, but these errors were encountered: