Skip to content

Smart Forms Overview

Smart Forms are Minyu's schema-driven form generation system. Forms are not designed manually. Instead, they are derived at runtime from the active configuration of:

  • Tables
  • Columns
  • Relations
  • Presentation order
  • Write rules
  • Data types
  • Relation constraints

Every Smart Form is therefore a direct projection of the current domain model and always reflects the system's actual structure and rules.

From this, the engine determines:

  • Which fields are editable
  • Which relations are selectable
  • Which input components are valid
  • Which constraints must be enforced

No form state is duplicated outside the schema. Any structural change in the model immediately affects all Smart Forms system-wide.

Example of generated modal

Figure: Example of an automatically generated Smart Form for the Customer entity. The form layout, field ordering, input components, and relation selectors are derived entirely from the configured table schema, column presentation order, data types, relation constraints, and active write rules. Scalar fields such as first name, last name, and email are rendered using input components matched to their data types, while the our contact field is rendered as a relation selector based on the relation configuration and target table size. No manual form design is involved; any structural change in the underlying schema would immediately be reflected in this form.