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

Marshal YAML 1.1 bool-like to strings #583

Merged
merged 2 commits into from
Mar 13, 2020
Merged

Commits on Mar 12, 2020

  1. Add tests for marshaling string fields with "bool" values

    Tristan Colgate committed Mar 12, 2020
    Configuration menu
    Copy the full SHA
    71b47b5 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2020

  1. Marshal YAML 1.2 bool-like strings to quoted strings.

    We adhere to the YAML 1.3 for input, but only parsing "On", "Off", and
    friends, as strings rather than bools. When outputting however we will
    ensure that we quote these cases. Failure to do so forces makes the
    output ambiguous if it then to be parsed by a YAML 1.2 parser.
    Tristan Colgate committed Mar 13, 2020
    Configuration menu
    Copy the full SHA
    fc2885c View commit details
    Browse the repository at this point in the history