Open jaclarke opened 1 year ago
In the meantime, if you need all of the links of an object, you'll have to manually add them, but you can use the single splat to make it a little easier to write:
e.select(e.Movie, (movie) => ({
...movie["*"],
characters: (c) => ({ ...c["*"] }),
profile: (p) => ({ ...p["*"] }),
});
(Implemented in EdgeDB here: https://github.com/edgedb/edgedb/pull/5080)
['**']
that contains all properties and linkse.is
to make this possible for polymorphic splats:// Currently have to do this: e.select(e.Person, () => ({ ...e.is(e.Hero, e.Hero['*']) }));