Closed BurnzZ closed 1 year ago
Added a test in https://github.com/scrapinghub/scrapy-poet/pull/88.
Currently, there's no transitivity that happens for this: A -> B -> C
. So if A
is being required, C
wouldn't be used as an override, but rather B
.
There are use cases that merits the use of either behaviors. However, I think supporting transitive overrides makes the solution more complex. We could simply opt to create a rule that C overrides A
to solve the problem.
I think not having such transitivity is fine. Let's close it.
Stemming from: https://github.com/scrapinghub/web-poet/pull/84#discussion_r1004807507
@Gallaecio had brought up a good point:
Some tests should be written to ensure the expected behavior on this, as well as if the priority values are respected.