Skip to content

Deprecate Astro in getStaticPaths #14372

@florian-lefebvre

Description

@florian-lefebvre

Astro in getStaticPaths is confusing, since types don't match. Now that Astro.glob is removed (#14368), there's nothing really useful on the Astro object when used inside getStaticPaths.

We should log a warning if any of its properties is used in v6, and throw in v7.

Metadata

Metadata

Labels

feat: routingRelated to Astro routing (scope)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions