cost 211 ms
Flutter OperationException(linkException: ResponseFormatException(originalException: FormatException: 输入意外结束(在字符 1 处) - Flutter OperationException(linkException: ResponseFormatException(originalException: FormatException: Unexpected end of input (at character 1)

以前我使用的是graphql版本 3.1.0,它工作正常,能够按预期接收请求,但最近我不得不将我的 flutter 版本更新到 2.10.3 和所有其他包,包括 graphql。 现在我正在使用 v.5.1.0,但突然出现此错误。 仅将 documentNode 更改为 Query 中的 docu ...

Flutter GraphQL - OperationException(linkException:ResponseFormatException(originalException:FormatException:意外字符(在字符1) - Flutter GraphQL - OperationException(linkException: ResponseFormatException(originalException: FormatException: Unexpected character (at character 1)

使用 graphql_flutter package 的变异方法时出现此错误。 尝试使用以下版本的qraphql_flutter package: 5.0.1-beta.1 5.0.0 4.0.0-beta.5 错误: I tried running query using the sam ...

flutter 连接问题中的 graphql-flutter 订阅 - graphql-flutter subscriptions in flutter connectivity issue

我是 flutter 开发的新手,但我在 nodejs 和 graphql 方面有很好的经验。我正在尝试使用 graphql-flutter 的订阅小部件并更新更改。 但未建立连接。 但我可以使用查询和突变小部件并获得结果。 graphql-flutter 团队提供的示例已有 2 年历史,与htt ...

Graphql 使用一组键值对返回类型名称错误 - Graphql returning typename error for mutation with set of key-value pairs

我们为 Flutter 应用程序设置了 graphql 服务器。 我们从应用程序到服务器的突变调用之一是返回字段__typename的验证错误,该字段实际上是 graphql 客户端在后台自动添加的字段(即不受开发人员控制)。 关于如何解决此错误的任何想法? 我的设置客户端:使用graphql_fl ...

graphql_flutter 突变查询需要返回语句 - 不确定如何添加它 - graphql_flutter mutation query expects return statement - not sure how to add it

builder 方法上的变异查询需要返回语句,我不确定在何处以及如何将其添加到以下代码中。 我相信变异查询应该返回操作的通过或失败。 在过去的几天里,我一直在努力解决这个问题。 我仍然不知道出了什么问题。 我有这个方法,当用户填写一次性代码时,它会在 onCompleted 回调上调用。 ...

使用 graphql_flutter 连接到 Graphql API 时出错 - Error when connecting to Graphql API using graphql_flutter

我正在尝试将 graphql_flutter 用于我的 flutter 应用程序,但无法建立连接,并且出现以下错误: 我的猜测是错误说端口是 36582,但我的服务器在 localhost 的端口 4000 上。 这是主应用程序的代码 地址也是正确的,最后不包括“/graphql”。 查询在 pos ...

无法在同一个 HookWidget 中同时使用 useFuture() 和 useValueChanged() - unable to use both useFuture() and useValueChanged() in same HookWidget

我有一个带有useValueChanged侦听器的挂钩小部件,如下所示: 并且changeLayout(..)使用useFuture(..)进行 graphql 突变调用并返回包装在AsyncSnapshot中的 Future 该值在onTap回调中更改如下: 我的 HookWidget 抛出类型 ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM