Skip to content

New cop idea: ensure fields that reference authorized types are null: true #132

@stevecrozz

Description

@stevecrozz

The default graphql-ruby approach to unauthorized objects is to replace them with null. In order for that to work, the field declarations referring to these types must be null: true

Do you think it is possible to create a cop to make sure that all fields that reference types have null: true?

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