Decorates the class target with a lamba that is called when the type is first registered in the graph.
Function to be called when the graph type was registered the first time.
Decorates the class target with a lamba that is called when the type is first registered in the graph.