Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce option to enable/disable dynamic JavaScript proxies per module #9955

Closed
hikalkan opened this issue Sep 2, 2021 · 0 comments · Fixed by #10370
Closed

Introduce option to enable/disable dynamic JavaScript proxies per module #9955

hikalkan opened this issue Sep 2, 2021 · 0 comments · Fixed by #10370

Comments

@hikalkan
Copy link
Member

hikalkan commented Sep 2, 2021

Based on #9864

We can enable dynamic proxies for the identity module:

Configure<DynamicJavaScriptProxyOptions>(options => {
    options.EnabledModules.Add("identity");
});

options.EnabledModules is a HashSet<string> and contains a single item, app, by default.

/Abp/ServiceProxyScript endpoint returns scripts only for the specified modules.

In this way, ABP doesn't generate dynamic JS client proxies for the modules already have static proxies created in development time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants