GraphiQL API Documentation
    Preparing search index...

    Type Alias AutocompleteSuggestionOptions

    AutocompleteSuggestionOptions: GraphQLLanguageServiceOptions & {
        fillLeafsOnComplete?: boolean;
        mode?: GraphQLDocumentMode;
        uri?: string;
    }

    A whole bunch of the key language services

    Type Declaration

    • OptionalfillLeafsOnComplete?: boolean

      EXPERIMENTAL: Automatically fill required leaf nodes recursively upon triggering code completion events.

      • [x] fills required nodes
      • [x] automatically expands relay-style node/edge fields
      • [ ] automatically jumps to first required argument field
        • then, continues to prompt for required argument fields
        • (fixing this will make it non-experimental)
        • when it runs out of arguments, or you choose { as a completion option that appears when all required arguments are supplied, the argument selection closes ) and the leaf field expands again { \n| }
    • Optionalmode?: GraphQLDocumentMode
    • Optionaluri?: string