How do you access response object in graphQL when api is triggered (Want resolvers to have access to response.cookie)?

后端 未结 0 748
被撕碎了的回忆
被撕碎了的回忆 2020-12-17 22:58

On a rest api query, you have access to the request and response objects. From there, you can set a response.cookie. Ex:

const express = require("expres         


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