mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-08 00:05:32 -04:00
Previously we took a harsher approach to filtering which inputs were acceptable for child algorithm parameters. E.g. a child algorithm with a vector layer input would only show outputs from other algorithms which generated a vector layer output. But this can needlessly restrict what's possible in models. E.g. an algorithm which outputs a QgsProcessingOutputFile or QgsProcessingOutputString could potentially be a valid source to a vector layer. So we should allow these as possible inputs for vector layer parameters too. This commit adds many extra acceptable input types for child parameters. It will probably expose "corner cases" where algorithms may get unexpected input types, but these will not affect existing model stability and can be fixed when identified. The payoff is a much more flexible modeler.