Hi, I have one collection that I now want to derive another collection from. For this, I need to loop over every element of the first collection and do a nontrivial amount of computation that I don't want to repeat on every collection access.
That's why I created a second collection with a custom loader that calls getCollection on the first collection. This worked fine in astro dev mode, but fails in astro check/astro build, possibly because the load order of the collection is not stable.
Is there an idiomatic way to "preprocess" a collection? Ideally have one collection depend on a second one, similar to Vue's computed properties?