Marten::Schema::Field::Float
Inherits Marten::Schema::Field::Base / Marten::Template::Object::Auto / Marten::Template::Object / Marten::Template::CanDefineTemplateAttributes / Reference / Object
Represents a float schema field.
Constructors
Instance methods
Deserializes a raw field value to the corresponding field value.
validate(schema, value)
Runs custom validation logic for a specific schema field and schema object.
This method should be overriden for each field implementation that requires custom validation logic.