-
-
Save holyjak/149d34ec3bfb1e7841ff639964d39f20 to your computer and use it in GitHub Desktop.
Fulcro - compute-desired-ast-node's return type
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
react_devtools_backend.js:6 ERROR com/fulcrologic/fulcro/algorithms/tx_processing.cljc:413 compute-desired-ast-node's return type | |
-- Spec failed -------------------- | |
{:com.fulcrologic.fulcro.algorithms.tx-processing/results ..., | |
:com.fulcrologic.fulcro.algorithms.tx-processing/state-before-action | |
..., | |
:com.fulcrologic.fulcro.algorithms.tx-processing/dispatch ..., | |
:com.fulcrologic.fulcro.algorithms.tx-processing/started? ..., | |
:com.fulcrologic.fulcro.algorithms.tx-processing/original-ast-node | |
..., | |
:com.fulcrologic.fulcro.algorithms.tx-processing/complete? ..., | |
:com.fulcrologic.fulcro.algorithms.tx-processing/idx ..., | |
:com.fulcrologic.fulcro.algorithms.tx-processing/desired-ast-nodes | |
..., | |
:com.fulcrologic.fulcro.algorithms.tx-processing/transmitted-ast-nodes | |
{:remote | |
{:type ..., | |
:children | |
[{:type ..., | |
:dispatch-key ..., | |
:key ..., | |
:query ..., | |
:component ..., | |
:children | |
[... | |
... | |
{:type ..., | |
:dispatch-key ..., | |
:key ..., | |
:query ..., | |
:component ..., | |
:children [... {:type :join, | |
:dispatch-key | |
:com.fulcrologic.fulcro.routing.dynamic-routing/current-route, | |
:key :com.fulcrologic.fulcro.routing.dynamic-routing/current-route, | |
:query | |
[:ui/parameters | |
:ui/cache | |
:ui/busy? | |
:ui/page-count | |
:ui/current-page | |
{:ui/current-rows | |
[:bill-run/created-date | |
:bill-run/nr-invoices | |
:bill-run/nr-subscribers | |
:bill-run/period | |
:bill-run/id | |
:bill-run/cbm-timestamp | |
:bill-run/cache-done | |
:bill-run/billing-date | |
:bill-run/valid | |
:bill-run/notification-sent]} | |
[:ui.fulcro.client.data-fetch.load-markers/by-id _]], | |
:component minbedrift.ui.kostnadsdeling.ui/LatestBillRunList, | |
:params nil} ... ... ...], | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
:params ...}], | |
:params ...}], | |
:params ...}}} | |
when conformed as | |
{:type :join, :dispatch-key [:prop :com.fulcrologic.fulcro.routing.dynamic-routing/current-route], :key [:prop :com.fulcrologic.fulcro.routing.dynamic-routing/current-route], :query [:query [[:prop :ui/parameters] [:prop :ui/cache] [:prop :ui/busy?] [:prop :ui/page-count] [:prop :ui/current-page] [:join {[:prop :ui/current-rows] [:query [[:prop :bill-run/created-date] [:prop :bill-run/nr-invoices] [:prop :bill-run/nr-subscribers] [:prop :bill-run/period] [:prop :bill-run/id] [:prop :bill-run/cbm-timestamp] [:prop :bill-run/cache-done] [:prop :bill-run/billing-date] [:prop :bill-run/valid] [:prop :bill-run/notification-sent]]]}] [:ident [:ui.fulcro.client.data-fetch.load-markers/by-id _]]]], :component minbedrift.ui.kostnadsdeling.ui/LatestBillRunList, :params nil} | |
should satisfy | |
(fn | |
[%] | |
(if | |
(-> % :query first (= :recursion)) | |
% | |
(if (contains? % :children) % false))) | |
-- Relevant specs ------- | |
:edn-query-language.ast/children: | |
(cljs.spec.alpha/coll-of :edn-query-language.ast/node) | |
:edn-query-language.ast/root: | |
(cljs.spec.alpha/and | |
(cljs.spec.alpha/keys | |
:req-un | |
[:edn-query-language.ast/type :edn-query-language.ast/children]) | |
(cljs.core/fn [%] (cljs.core/= :root (:type %))) | |
(cljs.core/fn | |
[x] | |
(cljs.core/every? | |
(cljs.core/comp | |
(fn* | |
[p1__40063#] | |
(cljs.core/contains? #{nil :call :prop :join} p1__40063#)) | |
:type) | |
(:children x)))) | |
:edn-query-language.ast/node: | |
(cljs.spec.alpha/multi-spec edn-query-language.core/node-type :type) | |
:com.fulcrologic.fulcro.algorithms.tx-processing/transmitted-ast-nodes: | |
(cljs.spec.alpha/map-of cljs.core/keyword? :edn-query-language.ast/node) | |
:com.fulcrologic.fulcro.algorithms.tx-processing/tx-element: | |
(cljs.spec.alpha/keys | |
:req | |
[:com.fulcrologic.fulcro.algorithms.tx-processing/idx | |
:com.fulcrologic.fulcro.algorithms.tx-processing/original-ast-node | |
:com.fulcrologic.fulcro.algorithms.tx-processing/started? | |
:com.fulcrologic.fulcro.algorithms.tx-processing/complete? | |
:com.fulcrologic.fulcro.algorithms.tx-processing/results | |
:com.fulcrologic.fulcro.algorithms.tx-processing/dispatch] | |
:opt | |
[:com.fulcrologic.fulcro.algorithms.tx-processing/desired-ast-nodes | |
:com.fulcrologic.fulcro.algorithms.tx-processing/transmitted-ast-nodes | |
:com.fulcrologic.fulcro.algorithms.tx-processing/progress]) | |
-- Spec failed -------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment