ExShopifySchema.Generator.Graphql.Introspection.Definition.NonNullType (ExShopifySchema v2024.4.3)
View SourceBy default, all types in GraphQL are nullable; the null value is a valid response for all of the above types. To declare a type that disallows null, the GraphQL Non-Null type can be used.
https://spec.graphql.org/October2021/#sec-Non-Null
Example introspection payload
{
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
}
Summary
Types
@type t() :: %ExShopifySchema.Generator.Graphql.Introspection.Definition.NonNullType{ type: ExShopifySchema.Generator.Graphql.Introspection.Definition.NamedType.t() | ExShopifySchema.Generator.Graphql.Introspection.Definition.ListType.t() }