Open yogeshVU opened 1 year ago
Just to be clear, this is not just for sibling nodes in the taxonomy, right? In other words, if two nodes have the same name but have unique paths in the taxonomy tree, is that a problem?
As far as my understanding goes, pydantic creates classes globally. As such this would mean unique names across the taxonomy for the objects, ignoring the unique paths if any.
It will be good to check if there are any name collisions in the taxonomy especially for the json objects. Code gen tools like Pydantic creates a class with an object name and if there is a name collision, it just appends an incremental integer to the class name. Eg. Participant,,, Participant1, Partcipant2..