error handling with celebrate not working properly

前端 未结 0 506
鱼传尺愫
鱼传尺愫 2021-01-30 10:49

I have the following route in graphql.ts

export const router = express.Router();
router.post(
  \'/graphql\',
  celebrate({
    [Segments.HEADERS]: Joi.object({
          


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