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

schnauzer: add reflective template helpers #105

Merged
merged 3 commits into from
Aug 23, 2024

Conversation

cbgbt
Copy link
Contributor

@cbgbt cbgbt commented Aug 22, 2024

Issue number:

Closes #104

Description of changes:

    schnauzer: refactor helpers into dir module
    schnauzer: refactor stdlib helpers to new module
    schnauzer: add reflective template helpers

    These helpers allow you to identify the type of variables passed into
    templates by schnauzer. This is useful for properly handling polymorphic
    settings (e.g. can be a string or a list)

Testing done:
Provided unit tests pass

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

@cbgbt
Copy link
Contributor Author

cbgbt commented Aug 22, 2024

^ push to rebase

These helpers allow you to identify the type of variables passed into
templates by schnauzer. This is useful for properly handling polymorphic
settings (e.g. can be a string or a list)
@cbgbt cbgbt merged commit d1397d8 into bottlerocket-os:develop Aug 23, 2024
2 checks passed
@cbgbt cbgbt deleted the reflective-helpers branch August 23, 2024 19:56
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.

schnauzer: Add reflective helpers to support polymorphic settings
3 participants