fulcro 2025-03-27

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

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

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

replace-join is throwing away the metadata somehow

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

I'll try to make an SSCCE

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

✅ 1