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

Expose ResolveAll in an external module #481

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

christianking-gitlab
Copy link

There are some situations where it's preferable to have Murmur usable as a library, rather than as a separate executable.

In Issue 471 the use case is for testing, but I have an additional use case where I need to resolve secrets from a configuration file rather than environment variables.

Currently, that's not possible since Murmur doesn't expose any external interface at all. This PR adds a minimal external interface which wraps the internal function ResolveAll for external use. As a wrapper, this still allows the freedom to change or remove the internal ResolveAll function if required, it would just require additional changes in the wrapper to preserve the existing call signature.

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

Successfully merging this pull request may close these issues.

1 participant