We have the same issue on our code. We just migrated from abpzero 6.4 (where null was translated to null) to 7.2.3 (where null is translated to an empty javascript object)
Your solution @abarref doesn't compile for us :
Property 'pipe' doesn't exist on type 'U'
observable = observable.pipe(map((data) => {
Any suggestion ?
Currently abp zero 6.4 with Angular and .net framework but we are now in the process of migrating to 7.2.3 so our problem will likely be solved.
Thank you.
I have a dto with an enum property :
public MyEnumType MyProperty { get; set; }
with MyEnumType :
public enum MyEnumType { Undefined = 0, First = 1, Second = 2, }
In the service-proxies however, my enum is translated like this :
export enum MyEnumType { _0 = 0, _1 = 1, _2 = 2, }
Is there a way to have access to the string names of an enum in the frontend ?
indeed for the cors.
thanks, i'll test it in a few days & be back to you if it's not ok
Hello,
does abp (CORS, etc) support the use of same port for the frontend & backend, with a different DNS ?
saying that for WAN : backend (443): https://server.project.blabla.com frontend (443): https://project.blabla.com
for IIS
i've read that is how it's done in IIS, but i wanted to be sure that there is no issue for abp about this point (since i'll have to wait few days for the dns modification)
thanks for the clarification ! (& sorry if it has already been asked)
We created a lot of custom user settings in our app using a custom SettingProvider class.
How can we allow our users to change these settings ?
We can of course update for the current session :
abp.setting.values[settingName] = settingValue;
but it's not recorded in database.
To make it work, I also had to change :
and create a :
Maybe there was another way ? If not, you can close this topic :)
Thanks anyway !
We're building an angular application with two separate web pages which share services and components.
We would like one of these pages to use the default Metronic theme (with the menu on the left side) and the other one to use the theme2 (with the menu in the topbar). Is it possible to use both themes in the same app ? We started from the zero 6.4 template.
It could do the trick but it's more for inherited class that i was speaking.
More like this one in fact : https://github.com/aspnet/EntityFrameworkCore/issues/11314
It's scheduled for EF CORE 3.0 (second half of 2019)
I close the ticket & we'll wait until 3.0 release.
(sorry, I was tired yesterday; i found it in 30seconds today)
thanks !
Hello guys,
i think i already saw this question/response few months ago but i can't find it back. (sorry for my poor research)
i'm using aspnetzero 6.7 (efcore + angular).
Columns for AuditedEntity are set at the start of the table in dbmigration. Is there anyway to declare them at the end ?
maybe declaring them explicitly (+ovveride) in the class a the correct position could do the trick but i was thinking if there was anything simplier.
thanks !