我有一个使用 GRANDstack 模板生成的 Apollo 全栈应用程序,并且我添加了一个可能错误的查询!
我收到了这个错误:Response not successful: Received status code 400
所以,我试图添加errorPolicy: 'all
到 useQuery
钩子
useQuery(MY_QUERY, {errorPolicy: 'all', variables: {
但我仍然遇到一般网络错误Response not successful: Received status code 400
我不知道在阿波罗服务器上在哪里行动?在阿波罗客户端?别处?我正在使用 GRANDStack 的默认配置