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
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!
Same problem, my ids looks like tyr13zqj, without strange prefixes of $uid. We need just to set it as is. Why the Hell we have that conversion of existing data? Plugin must not to change data inside, it just a transport utility.
As workaround, maybe introduce option like 'custom id prefix', which we can set manually while installing the plugin: u- for u-6018b21ff77a7f08047de270
or t for tyr13zqj.
But better to leave it without internal changes. If you have a string, you must show it as string.
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!plugin-graphql/src/support/utils.ts
Line 140 in b6a878d
Why the Hell there is parseInt without checking field type?!
The text was updated successfully, but these errors were encountered: