aaguiar的活动

Found a solution which worked:

public override void InitializeDatabase(IMongoDatabase database, IMongoClient client, IClientSessionHandle sessionHandle)
{ 
    var clientSettings = client.Settings.Clone();

    clientSettings.AutoEncryptionOptions = autoEncryptionOptions;

    client = new MongoClient(clientSettings);
    database = client.GetDatabase(database.DatabaseNamespace.DatabaseName);
    base.InitializeDatabase(database, client, sessionHandle);
}

I'm not talking about the CSFLE implementation, that part is done, my question is how to override the MongoClient in the AbpMongoDbContext, because I need to fetch the keys from the DB, create the AutoEncryptionOptions and then override the client config

To be able to build the AutoEncryptionOptions I need to fetch the collection to grab the encryption key, how can I achieve that in the DBModule if I don't have the MongoClient just yet?

Hi, I didn't get any response from you, is there any fix I can do to have ABP Studio working on my mac?

Any idea?

I do have Docker Desktop, but ABP Suite keeps complaining it's not installed

but how? I already have Docker installed, the ABP suite is not clear with the messages

显示 8 个条目中的 1 到 8 个.
Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11