pub trait EntityFetcher: Send + Sync {
// Required method
fn fetch_as_json<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
tenant_id: &'life1 Uuid,
entity_id: &'life2 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}Expand description
Trait for fetching entities dynamically
This allows the link system to enrich links with full entity data without knowing the concrete entity types at compile time.