Base solution for your next web application
Open Closed

NameValueofString depends on DemoUiComponents #11009


User avatar
0
chrisweinmuellner created

Product Version: 11.1 Angular .netCore

NameValueofString is generated in service-proxies as representation of c# NameValue<string>. The only place this appears is in DemoUiComponents. So when I deleted DemoUiComponents today and regenerated service-proxies.ts, suddenly my project wouldn't compile any more, because components create-or-edit-webhook-subscription-modal.component.ts and menu-search-bar.component.ts depended on a class NameValueofString in service-proxies.ts

I don't find it healthy and possibly even intentional that a random component or a shared component depend on an exposed Demo class on the backend, so maybe create a simple class in shared/utils that does the same but is actually independent of whether the demo component on the backend is still in the project.


1 Answer(s)