Skip to content

Fragment not generated for array fields #13

Open
@matteby

Description

@matteby

I have a schema that has an array field (notificationEmails in the example below). The generated fragment for this schema is missing the field.

Example schema:

type Note {
  text: String!
}

type Step {
  name: String!
  note: Note
  notificationEmails: [String!]
}

Generated fragment:

fragment Note on Note {
  text
}

fragment Step on Step {
  name
  note {
    ...NoteNoNesting
  }
}

Is there anything I may be doing wrong here?

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