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
import{Model}from'@vuex-orm/core'exportdefaultclassCategoriesextendsModel{// This is the name used as module name of the Vuex Store.staticentity='categories'staticfields(){return{id: this.increment(),name: this.attr('')}}}
So this return 500 server error. I use laravel and lighthouse-php lib.
What I do wrong? And maybe vuex-orm have easy method to save. For example ModelName.saveToServer() as method fetch.. ?
The text was updated successfully, but these errors were encountered:
Hey. I try to insert new raw in db by graphQl. =/
Model:
Update method
GraphQl
So this return 500 server error. I use laravel and lighthouse-php lib.
What I do wrong? And maybe vuex-orm have easy method to save. For example ModelName.saveToServer() as method fetch.. ?
The text was updated successfully, but these errors were encountered: