Introspection helpers for MishkaGervaz.Domain.
All functions use explicit table_ or form_ prefixes to avoid
name collisions between DSL sections that share field names.
Submodules
MishkaGervaz.Domain.Info.Table— Table defaults and navigation introspectionMishkaGervaz.Domain.Info.Form— Form defaults introspection
Naming convention
Every delegate follows the same rule:
table_<fn>— delegates toMishkaGervaz.Domain.Info.Table.<fn>with the exact same name.form_<fn>— delegates toMishkaGervaz.Domain.Info.Form.<fn>with the exact same name.
No unprefixed shortcuts, no renames, no suffixes. If you find an accessor
on Domain.Info.Table named x, the delegate here is table_x. Same for
Form. This mirrors the convention used by MishkaGervaz.Resource.Info and
MishkaGervaz.DomainInfo.
Examples
# Whole domain config map (same data on both sides)
Domain.Info.table_config(MyDomain)
Domain.Info.form_config(MyDomain)
# Inherited table defaults
Domain.Info.table_defaults(MyDomain)
Domain.Info.table_pagination(MyDomain)
Domain.Info.table_realtime(MyDomain)
# Domain-level navigation (not table-specific — top-level on Domain.Info)
Domain.Info.navigation(MyDomain)
Domain.Info.menu_groups(MyDomain)
# Inherited form defaults
Domain.Info.form_defaults(MyDomain)
Domain.Info.form_actions(MyDomain)
Domain.Info.form_layout(MyDomain)
Summary
Functions
Get the menu groups for a domain.
Get the navigation configuration for a domain.
Returns nil if no navigation do … end block is declared.