- Support
pattern field in the main walk method (like file.parse should actually do it?)
- Parse
pattern to find ${entity} inside it
- Choose Walker according to passed
scheme field (can be flat and nested for now)
- Read basic directory to generate some context
- Read the rest with chosen Walker
- Filter anything unneeded from walker with
pattern
- Send to stream (as it was done before)
- Walkers should care about
${entity} part in pattern only
- Empty
pattern means ${layer}/${entity}.${tech}
Feels like it's all the things we should do for pattern support. Not a huge deal for real.
More ideas on Russian: bem-sdk-archive/bem-walk#77
More details on Russian: https://gist.github.com/zxqfox/02bacc8c5d44b425f819228cdf0756d3
Closes #282
patternfield in the main walk method (like file.parse should actually do it?)patternto find${entity}inside itschemefield (can beflatandnestedfor now)pattern${entity}part inpatternonlypatternmeans${layer}/${entity}.${tech}Feels like it's all the things we should do for
patternsupport. Not a huge deal for real.More ideas on Russian: bem-sdk-archive/bem-walk#77
More details on Russian: https://gist.github.com/zxqfox/02bacc8c5d44b425f819228cdf0756d3
Closes #282