ExShopifySchema.Generator.Graphql.Introspection.Definition.ConstDirective (ExShopifySchema v2024.4.3)

View Source

Directives provide a way to describe alternate runtime execution and type validation behavior in a GraphQL document.

https://spec.graphql.org/October2021/#Directive

Note that this definition isn't used by Shopify, we'll keep it here for completeness and future extensibility.

Summary

Types

t()

@type t() ::
  %ExShopifySchema.Generator.Graphql.Introspection.Definition.ConstDirective{
    args: [
      ExShopifySchema.Generator.Graphql.Introspection.Definition.ConstArgument.t()
    ],
    name: String.t()
  }

Functions

load_json(json)

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