-
Notifications
You must be signed in to change notification settings - Fork 876
[TS] API entry missing for http._createDefaultCookieXSRFStrategy #2184
Comments
The document indeed is not rendered because it starts with |
I think the problem is here: https://github.com/angular/angular.io/blob/master/tools/api-builder/angular.io-package/processors/addJadeDataDocsProcessor.js#L70 We either need to iterate over a different collection than |
@petebacondarwin: thanks for the feedback! @wardbell @Foxandxss: doing similar filtering in both places would seem like a reasonable solution. |
(but not very DRY) |
Not DRY, but an ok incremental improvement IMHO. (Of course, if someone wants to invest time in creating a DRY solution that would be great too.) |
Ah I see that the lines I was pointing to are regarding exportDoc members not exportDocs themselves... So I am not sure why the doc is not being rendered. |
Ahah! It is a jade problem. The file is being generated but files that start with an underscore are ignored by harp/jade. |
Ah! Of course! Thanks @petebacondarwin. Hmm, that will be an interesting issue to solve. @wardbell @Foxandxss: it might be best to check with the angular folks to see if the two exported entities whose names start with an underscore are actually meant to be exported (my guess is that it is not the case). |
Please follow up with the Angular team. They should not be exporting public API members with leading underscore. Therefore, this appears to be a solution looking for a non-existent problem. |
Well, underscores for private members is a Dart convention, I'm not sure that it is 100% enforces in Angular 2 (TS). |
+1 to what @wardbell said |
Visit https://angular.io/docs/ts/latest/api/http/index/ and click on the link to
_createDefaultCookieXSRFStrategy
which is found towards the end of the page. Result: 404, page not found.The relevant code excerpt from
modules/@angular/http/http.ts
is:Notice that the function is exported.
Is the page for this entry being skipped because of the leading underscore? If so, then it should not appear in the index summary.
@ericjim @petebacondarwin
cc @Foxandxss @kwalrath
This is one of the broken links reported in #2150. (There is also a similar issue with
platform-browser/index/_WORKER_UI_PLATFORM_PROVIDERS-let.html
, but let's see how this issue is resolved first).The text was updated successfully, but these errors were encountered: