Skip to content

Use static proxy to get ApplicationConfiguration.#24894

Merged
oykuermann merged 2 commits intorel-10.1from
AbpApplicationConfigurationClientProxy
Feb 23, 2026
Merged

Use static proxy to get ApplicationConfiguration.#24894
oykuermann merged 2 commits intorel-10.1from
AbpApplicationConfigurationClientProxy

Conversation

@maliming
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings February 19, 2026 07:09
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts DI registration for ABP-generated static client proxies so ApplicationConfiguration (and tenant) services are obtained via the static proxy implementation rather than requiring explicit manual registrations.

Changes:

  • Removed explicit AddTransient registrations for AbpApplicationConfigurationClientProxy and AbpTenantClientProxy from the client common module.
  • Enabled conventional DI registration for the generated proxy types by removing [DisableConventionalRegistration] from the proxy partial classes.
  • Cleaned up now-unused using directives related to those manual registrations.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
framework/src/Volo.Abp.AspNetCore.Mvc.Client.Common/Volo/Abp/AspNetCore/Mvc/Client/AbpAspNetCoreMvcClientCommonModule.cs Removes manual proxy registrations so DI relies on conventional registration + exposed services from generated proxies.
framework/src/Volo.Abp.AspNetCore.Mvc.Client.Common/ClientProxies/AbpTenantClientProxy.cs Removes conventional-registration opt-out so the generated proxy can be registered/exposed automatically.
framework/src/Volo.Abp.AspNetCore.Mvc.Client.Common/ClientProxies/AbpApplicationConfigurationClientProxy.cs Removes conventional-registration opt-out so the generated proxy can be registered/exposed automatically.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.

@oykuermann oykuermann merged commit 3790bb4 into rel-10.1 Feb 23, 2026
9 checks passed
@oykuermann oykuermann deleted the AbpApplicationConfigurationClientProxy branch February 23, 2026 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants