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

feat(encode): accept any input type #67

Merged
merged 1 commit into from
Aug 7, 2024

Commits on Aug 7, 2024

  1. feat(encode): accept any input type

    Previously, only a *yaml.Node was accepted, which required the caller to encode arbitrary data to an AST node before they would be able to use the Encoder. This saves them that step while remaining backwards-compatible for callers still passing in AST nodes.
    
    Signed-off-by: Dan Luhring <dluhring@chainguard.dev>
    luhring committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    3b630a4 View commit details
    Browse the repository at this point in the history