Hmm, seems like df/load!
does not support loading a list of idents in one transaction... do we need to implement that ourselves?
Also, why do you need that? Perhaps there is another solution? If you were loading Persons, you could have a resolver for all-people, perhaps parameterized to limit which ones to return.
@holyjak Because this list is determined by the client. For example, it is based on a box selection in the UI.
I see. Still, you could make a parametrized resolver that takes a list of IDs and use that. No?
what do you mean? df/load
uses a component's query, and the ident is just where that query is rooted, and a query can't have more than one root, so it can't have more than one ident. You can use targeting to merge query result to other places in your state if that's what you're trying to do
Basically, I would like to have multiple df/load!
s merged into one transaction, using the default actions that come with df/load!
.
tony was recently working on having just that happen automatically, actually https://github.com/fulcrologic/fulcro/commit/35a47b26f366833de26b496a1902b5232dba1431