Skip to main content

register_node

Function register_node 

Source
pub fn register_node(node: SchemaNode)
Expand description

Register one constructor-produced declaration in the collecting graph.

This is the only non-test mutation entrypoint generated declarations use. Duplicate and late registrations remain recorded until graph sealing.

ยงPanics

Panics if the process-global registration gate or schema lock is poisoned.