Skip to content

Parameterized data loaders & pages #245

Closed
@mbostock

Description

@mbostock

What if we supported dynamic routes for data loaders, e.g. customer/@[login].csv.ts would match customer/@mbostock.csv, and would pass --login=mbostock as a command-line argument (parameter) to the data loader. This way you could use the same data loader to generate multiple files (though all files would need to be statically referenced in order to be built).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions