Hi, I just upgraded from 1.9 to 2.2 and i think the new changes are great. Said this, I think there's room for improvement in the process of create indexes.
This is my wrapper of indexes.CreateOne(). As you can see, there's no general way to tell a to the method if an index key is ascending or descending.
So, what do you think about this kind of implementation?
As you can see, using something like keys.Add() method it's MUCH easier to set the directions of multiple keys, specially when you have many of them. Thank you for your time.