Skip to content

index.json contains duplicate entries #1197

Open
@chalin

Description

@chalin

In applying dartdoc to Angular 2 code (beta.17), the generated index.json contains 124 duplicate entries. Here is one example of a repeated entry:

    {
        "name": "hashCode",
        "qualifiedName": "server.Html5LibDomAdapter.hashCode",
        "href": "server/Html5LibDomAdapter/hashCode.html",
        "type": "property",
        "enclosedBy": {
            "name": "Html5LibDomAdapter",
            "type": "class"
        }
    },

Given that the top-level JSON object is an array (and not a map), it would be nice if those entries were unique.

/cc @kwalrath

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestarea-output-sizeIssues related to dartdoc's sometimes unreasonable output size.customer-google3Issues originating from or important to Angulartype-code-healthInternal changes to our tools and workflows to make them cleaner, simpler, or more maintainabletype-performanceIssues related to slow dartdoc generation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions