tnunnink / AutoSpex

A Windows application that runs configurable specifications against a source L5X file to validate the project content.
MIT License
2 stars 0 forks source link

Filter Chaining #35

Closed tnunnink closed 2 weeks ago

tnunnink commented 1 month ago

Is it possible to configure filters to chain so that each successive filter is applied to the resulting elements of the first filter. The idea here is support narrowing down tag elements. Maybe we want tag with a data type, and then nested tag members from that tag of a certain type (not all tags). This would improve the query performance and make nested tag indexing less cumbersome.

Possible Chain Types:

This would likely replace the inclusion setting for filters (maybe verifications too).

tnunnink commented 3 weeks ago

50 Related Kinda.

tnunnink commented 2 weeks ago

Just going to close this since the approach we would take if any would be to have the steps, where you can add successive filter steps (solve the "then" case). We hardly need to filter inclusion, but we definitely don't need chaining. Maybe someday if people want it, but not really mission critical, and I want to finish this project.