How to write a GraphQL update mutation for sql db (Apollo Server)

后端 未结 0 1888
孤独总比滥情好
孤独总比滥情好 2020-11-30 23:58

I am trying to write an update mutation for my front end.

Here is what I have:

    async updateUser(root, { id, name, email, password }, { models }) {
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题