NAME

GraphQL::Houtou::Type::InputObject - GraphQL input object type

SYNOPSIS

my $Filter = GraphQL::Houtou::Type::InputObject->new(
  name   => 'Filter',
  fields => {
    name_like => { type => $String },
    limit     => { type => $Int, default_value => 10 },
  },
);

DESCRIPTION

A structured argument/variable type. is_one_of => 1 makes it a @oneOf input object: exactly one field must be provided and it must not be null.

SEE ALSO

GraphQL::Houtou