Hi, I know we shouldn't add ICurrentUser in domain layer because domain layer should be independent of current user. but I have some logic in the domain which I don't want to expose to the outer layer but I need current user Id for that logic. how can I handle this.
is that okay to access ICurrentUser in domain manager?
Could you please give me any code example. plus, what if I don't want to seed this data in unit tests, how can I remove this seeding file while running unit tests.
Hi, I have bunch of sql insert statements store in .sql file. This file is being loaded and executed by the data seeder. when DbMigrator runs and it successfully populated the database. but when I run unit tests, all are getting failed because when sqlite seeds the database for tests. it loads that .sql file I'm getting the following error
because IF EXISTS statement doesn't exist in sqllite but its fine with sql server.
how can I handle this situation. plus, if I don't want unit tests to seed specific data how can I handle that
following is the screenshot of .sql file for your reference
Hi, how can I return different http status code from application layer methods.
for example, for post request, ABP by default returns 200 but I want to return 201.
how can I do that in application layer without going thru controllers.
I'm not able to replicate the issue because it happens once in a while. I will reopen this ticket if the issue comes back
I mean when I start the application, the application takes longer time to run as I have shared in the previous screenshot. (screenshot shows the initial logs when we start the app with kestrel server) in the screenshot you can see the time 13:22 to 13:26 and the app didn't up yet, app kind of stuck at the startup
Hi, when I add the following module to the application layer typeof(AbpBackgroundWorkersHangfireModule). all the application tests starts failing
following is the screenshot of the application module class
following is the screenshot of error I'm getting after adding this module typeof(AbpBackgroundWorkersHangfireModule)