Did you find anything?
I understand if you didn’t since Cosmos DB is a bit out of scope for Growthbook 😊
f
fresh-football-47124
06/09/2023, 1:05 PM
it seems that any time we do a sort on Mongo results, for it to be compatible for Cosmos, we need to add an index to that collection for those exact fields, as you thought.
fresh-football-47124
06/09/2023, 1:05 PM
it should be possible to fix, we just have to adjust Mongoose for this
fresh-football-47124
06/09/2023, 1:05 PM
can you open an issue for it so we can keep track?
c
clever-helmet-13121
06/09/2023, 1:31 PM
I see. Sure thing! Thanks for having a look at it 🙏
https://github.com/growthbook/growthbook/issues/1356
Do you have an ETA for this? I’ll need to assess whether or not we should wait for it or replace our Cosmos DB with a pure MongoDB instance instead 🙂