class

Alumna::FieldDescriptor

Inherits Reference < Object

Constructors

new(name : String, type : FieldType, required : Bool = true, nullable : Bool = false, unique : Bool = false, indexed : Bool = false, read_only : Bool = false, min_length : Int32 | Nil = nil, max_length : Int32 | Nil = nil, format_name : String | Nil = nil, format_validator : Proc(String, Bool) | Nil = nil, format_message : String | Nil = nil, required_on : Array(ServiceMethod) | Nil = nil, sub_schema : Schema | Nil = nil, element_type : FieldType | Nil = nil, default : AnyData | Proc(AnyData) | Unprovided | Nil = Unprovided.new)
Source

Instance methods

default_value
Source
element_type
Source
format_message
Source
format_name
Source
format_validator
Source
has_default
Source
indexed
Source
max_length
Source
min_length
Source
name
Source
nullable
Source
read_only
Source
required
Source
required_on
Source
sub_schema
Source
type
Source
unique
Source