vuex-orm-localforage
vuex-orm-localforage copied to clipboard
Cannot convert undefined or null to object
Subject is a common error when you forget to wrap your payload in a data:{} object.
looks like you might need to fix the sample Todo.$create({ title: this.todo }) to read: Todo.$create({ data:{title: this.todo } }) yeah?
I'm also running into this issue when using .$get(id)
when there is no item with that key stored in indexedDB.
This is a pretty strange error, I was expecting it returns null or something if there is no stored item, but it seems to break.