Current section
Files
Jump to
Current section
Files
include/mochi@types_TypeFieldWithArgs.hrl
-record(type_field_with_args, {
name :: binary(),
description :: gleam@option:option(binary()),
field_type :: mochi@schema:field_type(),
args :: list(mochi@schema:argument_definition()),
resolver :: fun((any(), mochi@args:args(), mochi@schema:execution_context()) -> {ok,
gleam@dynamic:dynamic_()} |
{error, binary()}),
is_deprecated :: boolean(),
deprecation_reason :: gleam@option:option(binary())
}).