Fork me on GitHub
#fulcro
<
2022-10-01
>
m.q.warnock20:10:27

With regard to: https://book.fulcrologic.com/#_recursive_queries - I'm confused by :db/id - I have a type with children, essentially similar to the example, with just :thing/id for the identity entry. I have been trying to use the RAD stuff after thinking I had the fulcro basics well enough in-hand, so there are some differences I might be overlooking the importance of. I hope you'll forgive the less-than-clear circumstances and maybe save me a lot of wheel-spinning. The parent component renders as expected, and its direct children get all their fields, but the children's-children's factory function gets just {:thing/id <uuid>} instead of the full map. The only thing (afaik) I haven't ruled out is the logic behind '... which I haven't tried to dig into. The query is in lambda form, and as I said, I believe everything else maps onto the example 1:1 except the [person/id db/id] thing; afaict, the rad db adapter takes care of the issue I think this relates to. I'm using the latest released versions of everything; possibly another source of confusion 😕

tony.kay05:10:53

you’re going to have to show some code or something

m.q.warnock10:10:45

I hoped you might have one or two things to suggest checking. Pasting just the code that corresponds to the book example doesn't seem useful, and my entire rad-example-derived project (which started as a biff project) is a lot to wade through, so I think I'd have to create an example project - I'm guessing I'll figure out the problem in the process of asking the question 'properly', as I basically always do. Thanks for the great framework! All the decisions I understand so far seem wise 🙂