ExShopifySchema.Generator.Graphql.Introspection.Definition.ScalarType (ExShopifySchema v2025.4.3)

View Source

Scalar types represent primitive leaf values in a GraphQL type system.

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

Example introspection payload

{
  "kind": "SCALAR",
  "name": "ARN",
  "description": "An Amazon Web Services Amazon Resource Name (ARN), including the Region and account ID.\nFor more information, refer to [Amazon Resource Names](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).",
  "fields": null,
  "inputFields": null,
  "interfaces": null,
  "enumValues": null,
  "possibleTypes": null
}

Summary

Types

t()

@type t() :: %ExShopifySchema.Generator.Graphql.Introspection.Definition.ScalarType{
  description: String.t() | nil,
  directives: [
    ExShopifySchema.Generator.Graphql.Introspection.Definition.ConstDirective.t()
  ],
  name: String.t()
}

Functions

load_json(json)

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