Currently, buses and foreign keys are read out from struct and component data independently from underlying adapter class.
We have to make this more dynamic, as i.e. in MIMO facade buses are defined very uncommon:
Neither bus, nor from_bus or to_bus are used as parameter names, but frombus which cannot be implement in a standard way but has to be done within the adapter.
I suggest moving mapping into adapter. This way every adapter can use standard mapping (as it is implemented right now), but also can overwrite the function get_buses() to its needs.
Currently, buses and foreign keys are read out from struct and component data independently from underlying adapter class. We have to make this more dynamic, as i.e. in MIMO facade buses are defined very uncommon: Neither bus, nor from_bus or to_bus are used as parameter names, but frombus which cannot be implement in a standard way but has to be done within the adapter.
I suggest moving mapping into adapter. This way every adapter can use standard mapping (as it is implemented right now), but also can overwrite the function
get_buses()
to its needs.