Fork me on GitHub
Jakub Holý (HolyJak)09:03:50

> I see a function call in the second case There should actually be '(app.mutations/delete-person …​) - ie it is not fn call, it is a list with a symbol and a map. See You could also do the self-paced, I think we run into this there. I can be revealing to just call the mutation as a function from the REPL and see what happens.


    [{[:asset/id 13] [:asset.series/level]}]
     {:time.series/from #inst "2021-12-11"
      :time.series/to #inst "2021-12-16"}})
New to Fulcro, trying to make sense of things: If I want to graph the time series data of something, is this the shape of how it could be?


[({[:asset/id 13] [:asset.series/level]}
  {:time.series/from #inst "2021-12-11T00:00:00.000-00:00",
   :time.series/to #inst "2021-12-16T00:00:00.000-00:00"})]
And this is the EQL that Pathom3 should be able to work with @U0522TWDA ? The df/load that generated the above, was this in the end:
    [:asset/id 13]
     {:time.series/from #inst "2021-12-11"
      :time.series/to #inst "2021-12-16"}})
With [:asset.series/level] being the query on the component.

Jakub Holý (HolyJak)11:03:10

Ah, sorry, yes, df/load does a join on the keywrod/ident and query of the component you give it. I should have pointed that out.

Jakub Holý (HolyJak)11:03:44

I am a little surprised to see asset-component , I would expect AssetComponent as CamelCase is the normal naming syntax for defsc. Makes it easier to see when we are talking about "classes" and when about instances or elements.


Yeah. There are many moving parts in this conversation 😕 I am spiking if we can move a hooks-based app over to Fulcro, bit by bit. So I'm in com.fulcrologic.fulcro.raw.components world.

👍 1

Right now I am wrapping my head around getting pathom3 to extract those parameters out of that EQL. Thank you for sense-checking that it looks good!

Jakub Holý (HolyJak)11:03:49

Are you planning on keeping hooks or using classes? Both work fine with defsc.

Jakub Holý (HolyJak)11:03:09

> wrapping my head around getting pathom3 to extract those parameters out of that EQL. we had a discussion about that recently here


Planning on keeping hooks

👍 1

Thank you! The problem described there is what I am observing as well.

Joseph Avila20:03:11

Does anyone have fulcro snippets?

Björn Ebbinghaus20:03:01

Snippets of what?

Joseph Avila20:03:17

for the creation of components, etc.


Would be nice to have a set of Fulcro snippets in addition to these