Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 1.25 KB

File metadata and controls

40 lines (33 loc) · 1.25 KB

Re frame query TODOs

Support single event hook types for mutations

  • State “DONE” from “TODO” [2026-07-31 Fri 15:18]
  ;; currently
[:dispatch [::rfq/execute-mutation
            :headcount/bulk-archive
            {:headcount-updates items-with-versions}
            {:on-success [[::bulk-archive-success]]
             :on-failure [[::bulk-archive-failure]]}]]

  ;; We should also support
  [:dispatch [::rfq/execute-mutation
              :headcount/bulk-archive
              {:headcount-updates items-with-versions}
              {:on-success [::bulk-archive-success]
               :on-failure [::bulk-archive-failure]}]]

Check if literal tags without a function are supported

:tags #{[:todo :hello]}

Support deduplicating mutations with a parameter

If the same mutation with the same params is already in flight, deduplicate it.

[:dispatch [::rfq/execute-mutation :headcount/bulk-archive
            {:headcount-updates items-with-versions}
            {:dedup? true
             :on-success [::bulk-archive-success]
             :on-failure [::bulk-archive-failure]}]]