fulcro

Eva Ogbe 2025-03-27T13:09:52.154199Z

Fulcro Statecharts appears to have a bug where a route root cannot have a join query like {:foo (comp/get-query Foo)}. This line: https://github.com/fulcrologic/statecharts/blob/c99d0a7ce1480d057cd0c08140a94da0a22fb8e7/src/main/com/fulcrologic/statecharts/integration/fulcro/ui_routes.cljc#L121 throws away all the metadata needed to merge the child correctly

tony.kay 2025-03-27T13:53:33.832479Z

hm…the EQL library should be preserving the component element.

tony.kay 2025-03-27T14:02:24.365619Z

(meta (eql/ast->query (eql/query->ast (rc/get-query (rc/nc [:foo/id :foo/name] {:componentName ::Foo})))))
returns the metadata with the component

Eva Ogbe 2025-03-27T14:03:21.536949Z

replace-join is throwing away the metadata somehow

tony.kay 2025-03-27T14:28:26.462849Z

a repro case, failing test, or some other evidence would be nice

Eva Ogbe 2025-03-27T14:28:46.573749Z

I'll try to make an SSCCE

Eva O 2025-04-03T11:52:17.618209Z

The SSCCE revealed that it was a bug in my code apologies

✅ 1