Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Conversation

@deadmann
Copy link

@deadmann deadmann commented Apr 6, 2016

i use TS files to write my model, it was several days already, that i wanted to append an interface to my model, but it always failed and i was wonder why... asking around, searching a lot... but nothing...

Yesterday, i wrote a new module that need to check for input parameter type. i saw what it fails... and again searching through code and topics... so at some point i found angular change my model again... seeing what... i told 'transformResponse' to return an object of type AcDocRow, but after steping through i saw, hey waits, it's again an stringified json :| ...
Searching searching searching...
-lot of people have same issue, it's not only me...
-Angular Resource Pass Object to Http.. and it return the value to angular, angular again modify the object....
-lot of conversion from string to object and vice versa.
-no solution...

what should i do?
well let see through the code...
and i add ability to add a new action which modify the actual result. and you can bypass transformResponse too. which seem more complicated.

it's all seem to be clean... so i hope it be acceptable by the jury.
I also it get updated in new version of angular too...

I'm capable of filling the doc, but i'm not a native english talker. so i leave it to your hand.

i use TS files to write my model, it was several days already, that i wanted to append an interface to my model, but it always failed and i was wonder why... asking around, searching a lot... but nothing...

Yesterday, i wrote a new module that need to check for input parameter type. i saw what it fails... and again searching through code and topics... so at some point i found angular change my model again... seeing what... i told 'transformResponse' to return an object of type AcDocRow, but after steping through i saw, hey waits, it's again an stringified json :| ...
Searching searching searching...
-lot of people have same issue, it's not only me...
-Angular Resource Pass Object to Http.. and it return the value to angular, angular again modify the object....
-lot of conversion from string to object and vice versa.
-no solution...

what should i do?
well let see through the code...
and i add ability to add a new action which modify the actual result. and you can bypass transformResponse too. which seem more complicated.

it's all seem to be clean... so i hope it be acceptable by the jury.
I also it get updated in new version of angular too...

I'm capable of filling the doc, but i'm not a native english talker. so i leave it to your hand.
@Narretz
Copy link
Contributor

Narretz commented Feb 23, 2017

Bugs / Feature Requests must be reported at: https://github.com/angular/angular.js/issues

@Narretz Narretz closed this Feb 23, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants