untangled

NEW CHANNEL: #fulcro
currentoor 2016-07-15T17:37:13.002186Z

Is there a way to make untangled not trigger a remote read for an entity if it's id is an om/tempid that has not been resolved yet?

currentoor 2016-07-15T17:40:06.002187Z

Oh I think I might have found my problem, I wasn't returning all the tempids map.

2016-07-15T18:01:39.002189Z

@currentoor: yes, we do exactly that in one niche case

2016-07-15T18:02:16.002190Z

we create data with a new om/tempid but don’t call the mutation that sends to the remote until later

2016-07-15T18:03:05.002191Z

also, there’s an om/tempid? function you can use to check if the id is an om tempid. then conditionally return nil for the remote

currentoor 2016-07-15T18:03:39.002192Z

oh that's clever

currentoor 2016-07-15T18:03:42.002193Z

thanks!

👍 1