When I get data from the server all ObjectId cuts because of this method.
For example "6018b21ff77a7f08047de270" become "6018"
And id: this.string() in vuex-orm models doesn't help!
|
return parseInt(input.toString(), 10); |
Why the Hell there is parseInt without checking field type?!