Skip to content

clarifiy / rename readonly-rule #127

Description

@funkyfuture

i think the readonly-rule isn't named intuitively. it could mean a lot and my guess is it was named for a certain use-case (propably validating before writing something). but it doesn't explain itself immediately and unambiguously. i had to read the code to fully get its purpose which turned out more trivial and explanatory to me than the docs.

i propose to rename it to is_exluded. excluded may be semantically enough, but it would be just one keystroke away from excludes. another proposal is blacklisted or to stick with an already used term: allowed.

the transition should be implemented like from key- to valueschema.

a usage-example should be added to the documentation.

or is this an artifact from the time before allow_unknown was available?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions