vuex-orm / vuex-orm

The Vuex plugin to enable Object-Relational Mapping access to the Vuex Store.

Home Page:https://vuex-orm.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Retriving oringal data from backend without sorting

ibrahimBeladi opened this issue · comments

Is your feature request related to a problem? Please describe...

Some data are sorted from backend, and by fetching them from vuex-orm, the orders are altered (I guess by id, if no orderBy is given).
This behavior is not always wanted, sometimes we need to retrieve data as is, with their original sorting.

Describe the solution you'd like

A way to get the original data as they were inserted into vuex-orm. (model.getOriginal() ?)

Describe alternatives you've considered

Could not do it in vuex-orm, considering doing it manually.

Additional context

N/A