Fork me on GitHub
#fulcro
<
2019-05-07
>
mss18:05:38

can you return tempids in the map returned from a mutation join, or is it idiomatic to just return the raw id from the server?

mss18:05:22

the answer is yes, btw. for anyone who’s curious it’s demoed at the bottom of this section: http://book.fulcrologic.com/#_targeting_return_values_from_mutation_joins

mss19:05:19

having trouble getting my mutation join specified via returning to refresh my ui. the component I’m calling transact! in doesn’t have an ident – could that be causing the issue?

mss19:05:04

examining the state in the refresh part of the action and it seems like either the refresh call isn’t getting run after the remote runs or the state isn’t getting properly integrated back from the remote. I think I’ve specified everything correctly in my remote call and returned things correctly in my server mutation, but can’t rule out that I messed up something there