René's URL Explorer Experiment


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

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:2bb07918-bdd7-348e-e308-72b183ffc8fa
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9AC0:A5031:96F80F:C15880:69745299
html-safe-nonce210e47aededa5bb06b46bd1cb36784e5095dcf15bb5d591aa11d4dc4a66a707a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUMwOkE1MDMxOjk2RjgwRjpDMTU4ODA6Njk3NDUyOTkiLCJ2aXNpdG9yX2lkIjoiNzk3MDUyMzgzMjI0MTU2ODI1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca42338fc8a6efeb00f09de4fd413edd4b272f5d83eda1753ff4ce2ce21ead628
hovercard-subject-tagpull_request:65422247
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/angular/code.angularjs.org/pull/35/files
twitter:imagehttps://avatars.githubusercontent.com/u/1919241?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1919241?s=400&v=4
og:image:alti 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_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonee0b95d743b7672c9ac0e1032d5f117950182dc164a83434a7db86510e8f0b37c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/angular/code.angularjs.org git https://github.com/angular/code.angularjs.org.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id5598310
octolytics-dimension-repository_nwoangular/code.angularjs.org
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id5598310
octolytics-dimension-repository_network_root_nwoangular/code.angularjs.org
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release56fe7e2e8de6e57740bca50402351ea656f7a4bf
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/angular/code.angularjs.org/pull/35/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fcode.angularjs.org%2Fpull%2F35%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fcode.angularjs.org%2Fpull%2F35%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=angular%2Fcode.angularjs.org
Reloadhttps://patch-diff.githubusercontent.com/angular/code.angularjs.org/pull/35/files
Reloadhttps://patch-diff.githubusercontent.com/angular/code.angularjs.org/pull/35/files
Reloadhttps://patch-diff.githubusercontent.com/angular/code.angularjs.org/pull/35/files
angular https://patch-diff.githubusercontent.com/angular
code.angularjs.orghttps://patch-diff.githubusercontent.com/angular/code.angularjs.org
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fangular%2Fcode.angularjs.org
Fork 738 https://patch-diff.githubusercontent.com/login?return_to=%2Fangular%2Fcode.angularjs.org
Star 150 https://patch-diff.githubusercontent.com/login?return_to=%2Fangular%2Fcode.angularjs.org
Code https://patch-diff.githubusercontent.com/angular/code.angularjs.org
Issues 3 https://patch-diff.githubusercontent.com/angular/code.angularjs.org/issues
Pull requests 10 https://patch-diff.githubusercontent.com/angular/code.angularjs.org/pulls
Actions https://patch-diff.githubusercontent.com/angular/code.angularjs.org/actions
Projects 0 https://patch-diff.githubusercontent.com/angular/code.angularjs.org/projects
Security 0 https://patch-diff.githubusercontent.com/angular/code.angularjs.org/security
Insights https://patch-diff.githubusercontent.com/angular/code.angularjs.org/pulse
Code https://patch-diff.githubusercontent.com/angular/code.angularjs.org
Issues https://patch-diff.githubusercontent.com/angular/code.angularjs.org/issues
Pull requests https://patch-diff.githubusercontent.com/angular/code.angularjs.org/pulls
Actions https://patch-diff.githubusercontent.com/angular/code.angularjs.org/actions
Projects https://patch-diff.githubusercontent.com/angular/code.angularjs.org/projects
Security https://patch-diff.githubusercontent.com/angular/code.angularjs.org/security
Insights https://patch-diff.githubusercontent.com/angular/code.angularjs.org/pulse
deadmannhttps://patch-diff.githubusercontent.com/deadmann
angular:masterhttps://patch-diff.githubusercontent.com/angular/code.angularjs.org/tree/master
deadmann:masterhttps://patch-diff.githubusercontent.com/deadmann/code.angularjs.org/tree/master
Conversation 1 https://patch-diff.githubusercontent.com/angular/code.angularjs.org/pull/35
Commits 1 https://patch-diff.githubusercontent.com/angular/code.angularjs.org/pull/35/commits
Checks 0 https://patch-diff.githubusercontent.com/angular/code.angularjs.org/pull/35/checks
Files changed https://patch-diff.githubusercontent.com/angular/code.angularjs.org/pull/35/files
Please reload this pagehttps://patch-diff.githubusercontent.com/angular/code.angularjs.org/pull/35/files
Provide 'transformResult' action https://patch-diff.githubusercontent.com/angular/code.angularjs.org/pull/35/files#top
Show all changes 1 commit https://patch-diff.githubusercontent.com/angular/code.angularjs.org/pull/35/files
c4d4234 Provide 'transformResult' action deadmann Apr 6, 2016 https://patch-diff.githubusercontent.com/angular/code.angularjs.org/pull/35/commits/c4d42341b579171959f6a6aec5d9b623fc8a7b1d
Clear filters https://patch-diff.githubusercontent.com/angular/code.angularjs.org/pull/35/files
Please reload this pagehttps://patch-diff.githubusercontent.com/angular/code.angularjs.org/pull/35/files
Please reload this pagehttps://patch-diff.githubusercontent.com/angular/code.angularjs.org/pull/35/files
1.4.9/angular-resource.jshttps://patch-diff.githubusercontent.com/angular/code.angularjs.org/pull/35/files#diff-996a44fabe35a0569964ac3971bbbe4372b57a84752b85152d095a1630eab126
View file https://patch-diff.githubusercontent.com/deadmann/code.angularjs.org/blob/c4d42341b579171959f6a6aec5d9b623fc8a7b1d/1.4.9/angular-resource.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/angular/code.angularjs.org/pull/35/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/angular/code.angularjs.org/pull/35/files#diff-996a44fabe35a0569964ac3971bbbe4372b57a84752b85152d095a1630eab126
https://patch-diff.githubusercontent.com/angular/code.angularjs.org/pull/35/files#diff-996a44fabe35a0569964ac3971bbbe4372b57a84752b85152d095a1630eab126
https://patch-diff.githubusercontent.com/angular/code.angularjs.org/pull/35/files#diff-996a44fabe35a0569964ac3971bbbe4372b57a84752b85152d095a1630eab126
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.