Current section
Files
Jump to
Current section
Files
lib/ex_shopify_schema/graphql/node.ex
defmodule ExShopifySchema.Graphql.Node do
@moduledoc "An object with an ID field to support global identification, in accordance with the\n[Relay specification](https://relay.dev/graphql/objectidentification.htm#sec-Node-Interface).\nThis interface is used by the [node](https://shopify.dev/api/admin-graphql/unstable/queries/node)\nand [nodes](https://shopify.dev/api/admin-graphql/unstable/queries/nodes) queries."
use ExShopifySchema.Generator.Graphql.Schema
@primary_key false
typed_embedded_schema do
loadable_field :id, ExShopifySchema.Graphql.ID, []
end
end