Open shidcordero opened 3 years ago
I think it because of toPrimaryKey
method which used on id from server response.
See my issue: https://github.com/vuex-orm/plugin-graphql/issues/173
so I ended up creating a path file for plugin-graphql and remove the Guid formatting and leave it just a string.
Describe the bug
when id type is string, it shows NaN after persist
Steps to reproduce the bug
i have this model
I use fireorm as database and everytime the model transform and inserted in vuex-orm store. it shows NaN. see console.log output:
Expected behaviour
Should allow id as string type and save correct id value.
Versions