Skip to content

build_runner can fail after reading an asset outside the asset graph #359

Closed
@natebosch

Description

@natebosch

Bug was introduced here: fbf0e26#diff-7a296c2aaedb49f2b91b7fa9c81b536cL538

We always allow reads of assets outside the graph.

I think what should happen is we should disallow reads outside the graph and make sure all files from all packages are in the graph.

This caused a failure in json_serializable

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0A serious issue requiring immediate resolutionpackage:build_runnertype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions