Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

While parsing yaml it generates invalid tag for mapping #143

Description

Content of data.yaml file

name: !!set
  ? Mike
  ? Tyson
  ? Broke Lesner

data.yaml file storing set data and its valid I have tested it on https://www.yamllint.com/ but it generates error during parsing

File("data.yaml")
      .readAsString()
      .then(loadYamlDocuments)
      .then(print);

Error that's generated:

Unhandled exception:

Error : Invalid tag for mapping.
   ╷
26 │   name: !!set
   │ ┌───────^
27 │ │   ? Mike
   │ └──^

Activity

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

Metadata

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