The construct_device! pattern is starting to strain the codebase. Right now, we have roughly one method per (stage, device, device_model, network_model) combination. That's a lot of construct_device! definitions. And they largely follow a predictable pattern.
More of a meta-issue: this isn't going to be fixed by just one thing. But opening this to start putting potential fixes in one spot so they don't get lost.
The
construct_device!pattern is starting to strain the codebase. Right now, we have roughly one method per(stage, device, device_model, network_model)combination. That's a lot ofconstruct_device!definitions. And they largely follow a predictable pattern.More of a meta-issue: this isn't going to be fixed by just one thing. But opening this to start putting potential fixes in one spot so they don't get lost.