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

Custom resolvers #49

Open
jonathh21 opened this issue Oct 1, 2020 · 1 comment
Open

Custom resolvers #49

jonathh21 opened this issue Oct 1, 2020 · 1 comment

Comments

@jonathh21
Copy link

Don't suppose anyone knows if there is a way to use custom resolvers??

It would be awesome if you could pump unresolved things through a Func<string, string> then I could nip off to key vault etc to get the value.

Cheers

@droyad
Copy link
Contributor

droyad commented Oct 6, 2020

Is this for use in Octopus? If so, no there is no way.

If this is for your own consumption of this library, I think that'd be nice functionality to add. One possible way to do that is to rename BuiltInFunctions to OctostacheFunctions and add a Add method. It's not super clean and it's static, but I don't see a better alternative that would preserve backwards compatibility.

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

No branches or pull requests

2 participants