Activities of "yilmaz.atalar"

Yes you are right but I've given PreConfigureServices or ConfigureServices methods just for example. I've tried to explain what I need. I only need to inject a module dynamically to the module tree. Maybe like this:

public class ModuleA : AbpModule
{
    public override ICollection<Type> GetDynamicDependencies() 
    {
        List<Type> dependencies = new List<Type>();
        
        if (condition)
        {
            dependencies.Add(typeof(ModuleX));
        }
        else
        {
            dependencies.Add(typeof(ModuleY));
        }
        
        return result;
    }
}

And basically "GetDynamicDependencies" method can be called by the framework if possible while populating module dependency tree.

Plugin mechanism quite useful but documents say we should add plugin from startup module but I do not want to break up the dependency tree. In other words, I want to add a module conditionally but working same as DependsOnAttribute.If I can add plugin module from another module that will also work for me.

Hi @maliming,

Thanks for your assitance. It worked.

do you want to change this translation?
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/ExceptionHandling/Localization/tr.json#L15

Yes I do.

Answer

Your entity interface should be defined as follows:

  export interface Entity<TKey> {
    id: TKey;
    ...
  }

Hi,

I think the problem is clear and easy to reproduce. Also I've linked a related problem. I cannot share the source code. It's a corporate project and contains sensitive information.

Thanks.

It seems to be working. I've missed it because of an intellisense issue. Thanks for your help.

That's not working while creating a tenant. Have you ever tested it? Can you provide a working example for IdentityUser entity?

Thanks.

Hi,

I've achieved this by overriding MinioBlobNameCalculator, MinioBlobProvider and BlobContainerFactory. It should not be that hard. I think abp should support this functionality with an easy way.

Also, I think GetContainerName function of MinioBlobProvider has a bug. Configuration does not allow empty or null bucket names but that function checks for that and never uses true condition of comparison.

// always false because empty or null values are not allowed, application throws exception while starting up return configuration.BucketName.IsNullOrWhiteSpace() ? args.ContainerName : configuration.BucketName;

Hi,

I do not need to set it from a setting or a constant value. I want to set it according to a property of an entity. It is dynamic and changes on every user request to the application service. For example;

SaveBlob(1) -> Find record with id -> Read creation date -> 2020-01-05 -> Save blob to bucket "bucket-2020-01-05" SaveBlob(35) -> Find record with id -> Read creation date -> 2010-11-22 -> Save blob to bucket "bucket-2010-11-22"

Showing 11 to 20 of 31 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on July 08, 2025, 08:19