Title: Using ngHttp.HTTP_BINDINGS in SFX build causes InvalidBindingError in alpha.35 · Issue #3898 · angular/angular · GitHub
Open Graph Title: Using ngHttp.HTTP_BINDINGS in SFX build causes InvalidBindingError in alpha.35 · Issue #3898 · angular/angular
X Title: Using ngHttp.HTTP_BINDINGS in SFX build causes InvalidBindingError in alpha.35 · Issue #3898 · angular/angular
Description: When using ngHttp.HTTP_BINDINGS in angular's 2.0.0_alpha.35 sfx.dev build it's throwing the following error: InvalidBindingError {message: "Invalid binding - only instances of Binding and Type are allowed, got: [object Object]", _origina...
Open Graph Description: When using ngHttp.HTTP_BINDINGS in angular's 2.0.0_alpha.35 sfx.dev build it's throwing the following error: InvalidBindingError {message: "Invalid binding - only instances of Binding and Type are ...
X Description: When using ngHttp.HTTP_BINDINGS in angular's 2.0.0_alpha.35 sfx.dev build it's throwing the following error: InvalidBindingError {message: "Invalid binding - only instances of Binding ...
Opengraph URL: https://github.com/angular/angular/issues/3898
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Using ngHttp.HTTP_BINDINGS in SFX build causes InvalidBindingError in alpha.35","articleBody":"When using ngHttp.HTTP_BINDINGS in angular's 2.0.0_alpha.35 sfx.dev build it's throwing the following error: \n\n```\nInvalidBindingError {message: \"Invalid binding - only instances of Binding and Type are allowed, got: [object Object]\", _originalException: undefined, _originalStack: undefined, _context: undefined, stack: \"Error↵ at InvalidBindingError.BaseException (ht….org/2.0.0-alpha.35/angular2.sfx.dev.js:20107:38)\"}\n\nError\n at InvalidBindingError.BaseException (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:11539:25)\n at new InvalidBindingError (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:12886:65)\n at _resolveBindings (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:32901:15)\n at _resolveBindings (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:32897:20)\n at Function.System.register.execute.Injector.resolve (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:33554:36)\n at Injector.System.register.execute.Injector.resolveAndCreateChild (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:33325:45)\n at _createAppInjector (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:36509:26)\n at https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:36475:27\n at Zone.run (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:136:17)\n at Zone.System.register.execute.NgZone._createInnerZone.zone.fork.fork.$run [as run] (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:20107:38)\n```\n\nHere you have a plunkr to reproduce the issue:\nhttp://plnkr.co/edit/XIW0EgIZvs3dtNcYN1dJ?p=preview\n\nIf you change `ngHttp.HTTP_BINDINGS` for the following code, then everything works:\n\n``` js\n[\n ng.bind(ngHttp.ConnectionBackend).toClass(ngHttp.XHRBackend), \n ngHttp.BrowserXhr, \n ng.bind(ngHttp.RequestOptions).toClass(ngHttp.BaseRequestOptions),\n ng.bind(ngHttp.ResponseOptions).toClass(ngHttp.BaseResponseOptions),\n ngHttp.Http\n]\n```\n\nLooks like ngHttp module is using a somehow incompatible binding mechanism to generate HTTP_BINDINGS.\n\nIf I'm making something wrong any advice is welcome. Also if you think I can give you a hand to resolve this give me some tips and I'll PR with a solution.\n\nThank you!\n","author":{"url":"https://github.com/alfonso-presa","@type":"Person","name":"alfonso-presa"},"datePublished":"2015-08-29T10:24:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/3898/angular/issues/3898"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:02d3db47-1e67-7616-c78e-3ec01a0cf7bb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CFAC:9CFFD:28C4F09:394626F:6A5F6877 |
| html-safe-nonce | f07a1f9ba524efeeaa29c893917ceb94353d8e6cb527cdbadea510cf25525c72 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkFDOjlDRkZEOjI4QzRGMDk6Mzk0NjI2Rjo2QTVGNjg3NyIsInZpc2l0b3JfaWQiOiI1NDkwMzU3NjYyMzUyNjMxOTI3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 88e2d8de7e524163e9efd41931154827afb2f04864462d026c26a30ab12cae6c |
| hovercard-subject-tag | issue:103843273 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/angular/angular/3898/issue_layout |
| twitter:image | https://opengraph.githubassets.com/982ee82a6574c43439a6b5e9084b308d177ba46c3b9d3d6eb2136448bb8e886c/angular/angular/issues/3898 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/982ee82a6574c43439a6b5e9084b308d177ba46c3b9d3d6eb2136448bb8e886c/angular/angular/issues/3898 |
| og:image:alt | When using ngHttp.HTTP_BINDINGS in angular's 2.0.0_alpha.35 sfx.dev build it's throwing the following error: InvalidBindingError {message: "Invalid binding - only instances of Binding and Type are ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alfonso-presa |
| hostname | github.com |
| expected-hostname | github.com |
| None | 00788ab1bca5e7741110f9acff93fb613e3960b647280b664f19a2f2727fc38a |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0f1c555eb8c0d65e8ad53f33a2a87d02583a75b0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width