[MGNLREST-98] Wrap query results into a result object Created: 21/Aug/17 Updated: 06/Nov/17 Resolved: 30/Oct/17 |
|
| Status: | Closed |
| Project: | Magnolia REST Framework |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.0 |
| Type: | Task | Priority: | Neutral |
| Reporter: | Sang Ngo Huu | Assignee: | Dai Ha |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 5h | ||
| Time Spent: | 3h | ||
| Original Estimate: | 1d | ||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoR: |
Empty
|
||||||||||||||||
| Date of First Response: | |||||||||||||||||
| Epic Link: | REST Queries | ||||||||||||||||
| Sprint: | Saigon 118, Saigon 119 | ||||||||||||||||
| Story Points: | 5 | ||||||||||||||||
| Description |
|
Follow up public class RestResults<T extend Iterator> { private final T results; private final String link; private final Integer offset; private final Integer limit; private final Integer total; } |
| Comments |
| Comment by Mikaël Geljić [ 12/Oct/17 ] |
|
First goal: get the format more or less right, even if metadata is not populated yet. e.g.
{
results: [],
total: 0
}
|