簡體   English   中英

Doc 在 pullQueryBuilder 中始終為空

[英]Doc is always null in the pullQueryBuilder

我已經使用集合設置了 graphql 同步。 第一次同步運行良好,數據已填充,但之后我收到如下錯誤:

core.js:4197 ERROR Error: Uncaught (in promise): {"status":409,"name":"conflict","message":"Document update conflict"}
    at resolvePromise (zone-evergreen.js:798)
    at zone-evergreen.js:705
    at asyncGeneratorStep (asyncToGenerator.js:6)
    at _throw (asyncToGenerator.js:29)
    at ZoneDelegate.invoke (zone-evergreen.js:364)
    at Object.onInvoke (core.js:27148)
    at ZoneDelegate.invoke (zone-evergreen.js:363)
    at Zone.run (zone-evergreen.js:123)
    at zone-evergreen.js:857
    at ZoneDelegate.invokeTask (zone-evergreen.js:399)

我檢查了網絡日志,它總是查詢時間為 0 updatedAt文檔。 我已經檢查過了,我總是在 pullQueryBuilder 中得到null

事實證明,GraphQL 同步與 indexeddb 提供程序有問題。 我切換到 idb 提供商,它解決了我的問題。

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

相關問題
 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM