@AaronSterling - I hear you! Guess, I need to take JavaScript more seriously and need to learn it better.
If @raproposâs suggestion doesnât workâŚsomedayâŚsoonâŚI will find a way to convert this freaking Promise into Observable and will read the result out of converted Observable!
Thanks again for your much needed help and keeping your patience through my long posts. Appreciated!
That just seems insane to me. Canât you take this thread to whoever is imposing these âenvironment setup restrictionsâ and say ânobody else on the entire planet operates this way. you are wasting a lot of your resources making me figure out a problem that may be only existing because we are ignoring over a decade of best practice on how to have web applications communicate with their backend services, and this is likely to only get worse going forwardâ?
Once again, @AaronSterling - if it wasnât for you pointing out the import for âfromPromiseâ I wouldnât have reached this point! Thanks again!
So it was indeed how I was reading the returned object, the one that I was converting from Promise to Observable in my base-class, in my home-service.ts.
Apparently, I still need to read the returned JSON as I would do if it were a Promise (i.e., like, res.result). So the following function in home-service.ts: