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

Separate validation from unmarshaling code #328

Open
LarsStegman opened this issue Nov 22, 2024 · 0 comments
Open

Separate validation from unmarshaling code #328

LarsStegman opened this issue Nov 22, 2024 · 0 comments

Comments

@LarsStegman
Copy link

LarsStegman commented Nov 22, 2024

Hi,

we are working on a tool that reads a YAML file and then does some transformations on the ASTs. We would then like to decode the transformed AST into the generated objects. Because we decode the AST directly instead of unmarshalling a YAML file, we cannot use the validation code. We would like to separate the validation code from the Unmarshal functions. Are you open to us making a pull request at some point? I am not yet sure about the time frame for this, though.

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

1 participant