Skip to content

Resolve evaluates node 'y' to true. Is this always required ? #740

Closed
@arjunbhandage

Description

There is map created to resolve values which resolves y as below to true:
{true, yaml_BOOL_TAG, []string{"y", "Y", "yes", "Yes", "YES"}},

If the value of node is 'y' should it be resolved to 'true' always ?
I faced issue while generating go code from openAPI yaml --> oapi-codegen/oapi-codegen#362

Not sure if it is bug or I should never use the tags from the resolveMapList ?

{true, yaml_BOOL_TAG, []string{"y", "Y", "yes", "Yes", "YES"}},

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions