-
Notifications
You must be signed in to change notification settings - Fork 52
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
toPrimaryKey broke ObjectId from MongoDB #173
Comments
Same problem, my ids looks like As workaround, maybe introduce option like 'custom id prefix', which we can set manually while installing the plugin: 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: