Skip to content

Proposal: Don't allow $comment to be used in debug or error output #1628

@jdesrosiers

Description

@jdesrosiers

The spec says the following regarding the $comment keyword:

The value of this keyword MAY be used in debug or error output which is intended for developers making use of schemas.

I've noticed this before and keep forgetting to bring it up. I think this a bad idea. Comments should not be used for anything by the implementations. I'd like to remove this and strengthen the language that implementations MUST NOT use comments for anything. What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    In Discussion

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions