Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new "linked rule" feature for chaining related rules #173

Open
a-frantz opened this issue Sep 12, 2024 · 0 comments
Open

new "linked rule" feature for chaining related rules #173

a-frantz opened this issue Sep 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@a-frantz
Copy link
Member

Copying from a comment on issue #116 :

This problem sparked an idea for "linking" rules. I imagine the output of sprocket explain MissingMetas saying You should also look at 'DescriptionMissing' (or something to that effect). This linkage would go in one direction. Presumably a user invoking sprocket explain DescriptionMissing has already written meta sections and shouldn't be linked back to MissingMetas.

The Rule trait could have a new method fn linked_rules() -> Vec<&'static str> where the Vec contains other Rule IDs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant