Skip to main content

render_registry

Function render_registry 

Source
pub fn render_registry(module: &Module, name: &str) -> String
Expand description

Render JUST a named phon Registry for module’s schemas (no type declarations, no schemaId). The generated source carries one canonical SchemaBundleEnvelope constant and admits it through the language runtime. Used by RPC codegen, which supplies its own channel-aware declarations.