[Flight] Allow lazily resolving outlined models (#28780)
We used to assume that outlined models are emitted before the reference (which was true before Blobs). However, it still wasn't safe to assume that all the data will be available because an "import" (client reference) can be async and therefore if it's directly a child of an outlined model, it won't be able to update in place. This is a similar problem as the one hit by @unstubbable in #28669 with elements, but a little different since these don't follow the same way of wrapping. I don't love the structuring of this code which now needs to pass a first class mapper instead of just being known code. It also shares the host path which is just an identity function. It wouldn't necessarily pass my own review but I don't have a better one for now. I'd really prefer if this was done at a "row" level but that ends up creating even more code. Add test for Blob in FormData and async modules in Maps.
S
Sebastian Markbåge committed
14f50ad1554f0adf20fa1b5bc62859ed32be0bc6
Parent: 01bb3c5
Committed by GitHub <noreply@github.com>
on 4/8/2024, 7:40:11 PM