Closed Tasteful closed 5 years ago
I think this sounds like a great idea, it's a more advanced use case so I think people will understand that the order you apply these overrides will matter.
If you'd like to do the work then feel free to say and i'll assign you the issue. If not i'll mark it as help wanted
and possibly get around to it myself soonish
I will look into this.
That's great, please let me know if you need any help
Thank you for your contribution @Tasteful. This has now been released on to nuget in v1.4.14.
Please let me know if you have any issues and thank you for using Stubble.
Hi,
BaseSettingsBuilder.SetParserPipeline
exists today to be able to set a pipeline with own parsers, this is used in https://github.com/StubbleOrg/Stubble.Helpers project to be able to add template methods that is executed instead of inserting values for the tokens that is found. ThisSetParserPipeline
method is little hard to work with when you have multiple extensions project that all need to modify the parser pipeline. I think this should be replaced with a builder instead, examplewhere the
BuildSettings()
is calling theParserPipelineBuilder.Build()
to build the parser pipeline.What do you think of a change like this?