Skip to content

Directive types #127

Open
Open
@martijnvanloon

Description

@martijnvanloon

image

Is there a way to add the directive types so they don't create errors in my IDE? They do not have to be correct, just to remove the error. I am using Jetbrains with the graphql plugin.

I added this to the schema file to remove the error, and it works, but it seems like I am solving a problem that has already been solved

directive @fake(
  type: EnumValue!
) on FIELD_DEFINITION

directive @listLength(
  min: Number!
  max: Number!
) on FIELD_DEFINITION

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions