I have a C# ASP.NET server that returns Animals objects list to my angular 8 project, Is it possible to set more fields in the Animal class on the client side- angular?
Hope you understand me, Thanks for your answer!
I have a C# ASP.NET server that returns Animals objects list to my angular 8 project, Is it possible to set more fields in the Animal class on the client side- angular?
Hope you understand me, Thanks for your answer!
Here is an example (assume everything is working at this point):
this.http.get<Animal[]>(....).pipe(
flatMap(items => items),
map(item => ...your mapping function here...)
);
See also more examples from this question