Replies: 3 comments
-
Hi @themaiby, Currently, you can access an entire response object on each model instance returned from the API. In the coming versions it might be worth introducing a wrapper class that would store a list of returned models + meta information, something like this: class PaginatedCollection {
public meta: Meta;
public items: Array<Model>;
} |
Beta Was this translation helpful? Give feedback.
-
Hi @themaiby was this ever implemented? how would that look like? I may be able to create a PR I was thinking of something like:
and users will have
|
Beta Was this translation helpful? Give feedback.
-
Hello, Thank you for this package, But we need this feature ASAP, its very important |
Beta Was this translation helpful? Give feedback.
-
Hello.
How can I receive meta information for pagination like current_page, last_page after model.$query.get() request?
This information stored in every element of array but it seems to me that this is not the right solution.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions