Skip to content

Add multi-line / block comments to PSL / schema.prisma file #4474

@heymartinadams

Description

@heymartinadams

Problem

The schema.prisma file is becoming large. I’d like to group models by their general categories, as well as add more detailed explanations to each model, and to do that, I generally use block comments. However, these are presently not recognized in the schema file.

Suggested solution

Let us not only use line comments (which already works):

// This is a line comment

but also block comments in our schema.prisma file:

/*
 * This is a block comment, but is currently not recognized as a comment
 */

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions