Add ordering weight to builder to force strict ordering of builder
inkhey opened this issue · 1 comments
Current code load builders in an order related to the import order which make ordering not really clear and make possible ordering issue, like #235.
This issue is about having a weight parameter to builders and order builder with it.
Original comment:
#235 (comment)
There are other couple of builder which support same format like svg file (supported by both cairosvg and inkscape).
This is not a problem: the support may be different and one be better in some cases and the other in other cases. The right thing to do for these cases is (for the future):
* explicitly define load order * allow user to adjust the order
I think the right way to do so is to implement something like a priority weight which would be resolved at load time. This way, it also allows users to define there own builders.