Title: Provide 'transformResult' action by deadmann · Pull Request #35 · angular/code.angularjs.org · GitHub
Open Graph Title: Provide 'transformResult' action by deadmann · Pull Request #35 · angular/code.angularjs.org
X Title: Provide 'transformResult' action by deadmann · Pull Request #35 · angular/code.angularjs.org
Description: 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.
Open Graph Description: 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 n...
X Description: 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 n...
Opengraph URL: https://github.com/angular/code.angularjs.org/pull/35
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:756e1899-d827-8b87-ff9e-51deedda2ebb |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | D5A0:1D9B97:1A9AE35:2208229:69745378 |
| html-safe-nonce | 247e26d91f11394468e4dc5ff3c1700817a63b8d620b1c9cbf85ce5b56299d52 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUEwOjFEOUI5NzoxQTlBRTM1OjIyMDgyMjk6Njk3NDUzNzgiLCJ2aXNpdG9yX2lkIjoiODU1NDEwOTc3NzYzMjA1NjE4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ee897a423ef68909a298e16150e82631a01e10da7e0996fdfbe55d9e1ce2f250 |
| hovercard-subject-tag | pull_request:65422247 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/angular/code.angularjs.org/pull/35/checks |
| twitter:image | https://avatars.githubusercontent.com/u/1919241?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1919241?s=400&v=4 |
| og:image:alt | 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 n... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e0b95d743b7672c9ac0e1032d5f117950182dc164a83434a7db86510e8f0b37c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/code.angularjs.org git https://github.com/angular/code.angularjs.org.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 5598310 |
| octolytics-dimension-repository_nwo | angular/code.angularjs.org |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 5598310 |
| octolytics-dimension-repository_network_root_nwo | angular/code.angularjs.org |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56fe7e2e8de6e57740bca50402351ea656f7a4bf |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width