|
NAMEGraphQL::Type::InputObject - GraphQL input object typeSYNOPSISuse GraphQL::Type::InputObject; my $type = GraphQL::Type::InputObject->new( name => 'InputObject', fields => { field_name => { type => $scalar_type, resolve => sub { '' } }}, ); ATTRIBUTESHas "name", "description" from GraphQL::Role::Named. Has "fields" from GraphQL::Role::FieldsInput.METHODSis_validTrue if given Perl hash-ref is a valid value for this type.upliftTurn given Perl entity into valid value for this type if possible. Applies default values.
Visit the GSP FreeBSD Man Page Interface. |