Fork me on GitHub

Hmm, seems like df/load! does not support loading a list of idents in one transaction... do we need to implement that ourselves?


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

Jakub Holý18:04:46

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.


@U0522TWDA Because this list is determined by the client. For example, it is based on a box selection in the UI.

Jakub Holý08:04:42

I see. Still, you could make a parametrized resolver that takes a list of IDs and use that. No?