jqa-core-framework icon indicating copy to clipboard operation
jqa-core-framework copied to clipboard

Make Concepts composable / extendable by other concepts

Open jexp opened this issue 10 years ago • 0 comments

E.g I want to add filters to an existing concept:

concept
match ...
RETURN a.fqn as fqn

concept2 depends on concept
WHERE fqn =~ "org.foo.*"
RETURN *

Applying concept 2 would replace the RETURN in the first concept with a WITH and concatenate the text of concept 2.

Useful for additional custom filtering per project without changing / modifying the core concepts.

Allows filter chains.

jexp avatar Nov 25 '14 08:11 jexp