Skip to content

grinder indirectly imports generated files #2598

Open
@jcollins-g

Description

@jcollins-g

There are a lot of internal components to dartdoc that import big namespaces like package:dartdoc/dartdoc.dart and package:dartdoc/src/model.dart, even though they don't need the full import tree (or could be changed slightly to avoid it). This means that the grinder is indirectly importing package:dartdoc/lib/src/templates.renderers.dart and it makes it impossible to use grind build to regenerate the file to accomodate changes that result in errors. This is most noticeable now after #2564 has landed.

It's only a modest inconvenience to run the builder by hand, but it is still an inconvenience.

@srawlins

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work ontype-tech-debtIssues that slow or block desirable development paths for Dartdoc, or create such problems for users

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions