Skip to content

feat: handle type removal when documents exist #99

@angeloashmore

Description

@angeloashmore

Summary

The Custom Types API prevents deleting a type that has documents assigned to it.

page-type remove and custom-type remove need to surface this error clearly with actionable guidance (e.g. "delete or reassign documents first") so agents and users know what to do next.

Raised in RFC: Prismic CLI Modeling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions