Skip to content

GraphQL/ObjectDescription Reports False Positives #145

@jblacker

Description

@jblacker

This issue is related to #42, but it doesn't seem that issue was properly resolved. As mentioned in that issue this cop triggers for any class in the graphql folder, but this should not be how it functions. Due to this it also triggers on implementations of GraphQL::Analysis::AST::* classes as well as GraphQL::Schema::Validator implementations. However, neither of these classes implement the description method that RuboCop is saying to add here. Sure it's easy to add an Excludes to the RuboCop configuration, but this seems like a bug that should be resolved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions