Data Types

Data types are available for custom entities schema, which is isn't mandatory to use.

We have 5 data types:

Definition

Strict

Coercible

Form

JSON


Hanami model data types are based on dry-types gem. Learn more at: http://dry-rb.org/gems/dry-types


Prev: Models - Entities
Next: Models - PostgreSQL
Looking for Lotus? We renamed the project and it's now called Hanami. Read the announcement.