Skip to main content

entries_effective

Function entries_effective 

Source
pub fn entries_effective(compiled: &[AdminEntry]) -> Vec<DynamicAdminEntry>
Expand description

Single source of truth for rendering-side admin entries.

When the schema_cache has a live snapshot, builds dynamic entries from it. Otherwise falls back to projecting the compile-time slice. The returned Vec is independent of either source and can be passed to any helper that needs to iterate models without being type-bound.