hyperfiddle-2020
hyperfiddle-2020 copied to clipboard
CRUD apps as a function
Scrap – don't know if this is possible to define semantics for. ``` (deftype Partial' [pfn f args] Fn IFn (-invoke [_] (pfn)) (-invoke [_ a] (pfn a)) (-invoke [_...
Fiddle Name: ``` :something/employee ``` Schema: ``` [{:db/ident :employee/name :db/valueType :db.type/string :db/unique :db.unique/identity :db/cardinality :db.cardinality/one} {:db/ident :employee/manager :db/valueType :db.type/ref :db/cardinality :db.cardinality/one}] ``` Data: ``` [[:db/add "1" :employee/name "The Man"] [:db/add...
``` (defn hydrate-impl [rt pid request] (r/fmap-> (r/cursor (state/state rt) [:hyperfiddle.runtime/partitions pid :ptm]) (get request (either/left {:message "Loading" :data {:request request}})))) ``` It's using the request in get, or returing...
* http://tank.hyperfiddle.net/:mbrainz/ Chrome debugger hits the "Paused before OOM" threshold, but it chugs through. It takes a while. Hyperfiddle and Datomic and Transit seem to be doing just fine.
 
This top-level tx was staged manually by typing in the datoms... The top level grid is also buggy, thinking the identity is good and emitting broken transactions by identity rather...
 

1. Cursor/Focus is lost on load (so pause for the debounce interval and focus is lost) 2. Catch the load interval just right and bad transactions are staged 
New sys attrs related to entity specs and to tupleTypes are shown as well as :db/ensure and :db/doc