ExShopifySchema.Generator.Graphql.Introspection.Definition.ListType (ExShopifySchema v2024.4.2)

View Source

A GraphQL list is a special collection type which declares the type of each item in the List (referred to as the item type of the list). List values are serialized as ordered lists, where each item in the list is serialized as per the item type.

https://spec.graphql.org/October2021/#sec-List

Example introspection payload

{
  "kind": "LIST",
  "name": null,
  "ofType": {
    "kind": "NON_NULL",
    "name": null,
    "ofType": {
      "kind": "SCALAR",
      "name": "String",
      "ofType": null
    }
  }
}

Summary

Types

t()

@type t() :: %ExShopifySchema.Generator.Graphql.Introspection.Definition.ListType{
  type: ExShopifySchema.Generator.Graphql.Introspection.Definition.Type.t()
}

Functions

load_json(json)

@spec load_json(json :: map()) :: t()