Closed barneydobson closed 3 days ago
@dalonsoa did we have a plan to add custom classes - I know it can be done by updating the registry but there's no way to enter those in the normal config use. You could add them to be loaded by load_extension_files
- but this would need to take place before add_nodes
since the subclasses will need to have been registered before that point
I don't remember if we ditched the idea, or just forgot to include it in the plan above. In any case, it should be as simple as moving this line:
To before adding the nodes. The extensions files can have decorated stuff but also extra classes, so they all should be "registered" together. I don't think there's any reason for loading the extension files at the end rather than at the beginning.
I will add that to the list of tasks above
will be fixed by #127
Issue to discuss finalisation of the new extensions ability.
Below copied from #99
Within #97 - @dalonsoa
extensions_register
register_node_method
(optional arg forsub_object
).apply_decorators
Within this PR - @dalonsoa
Close #54 , make a new PR - @liuly12
Enable custom subclasses
Documentation (new issue)
register_node_handler
) - us to revisit