Skip to content

Directives must appear exactly once on a field #156

@Fi1osof

Description

@Fi1osof

Mayby bug.

Try to merge twice

type User {
  id: ID! @unique
  fullname: String
}

type User {
  id: ID! @unique
  email: String
}

Got:

schema type User {
  id: ID! **@unique @unique**
  fullname: String
}

Error: The field id specifies a directive more than once. Directives must appear exactly once on a field.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions