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

While parsing yaml it generates invalid tag for mapping #143

Open
ghost opened this issue May 2, 2023 · 0 comments
Open

While parsing yaml it generates invalid tag for mapping #143

ghost opened this issue May 2, 2023 · 0 comments

Comments

@ghost
Copy link

ghost commented May 2, 2023

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
   │ └──^
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

0 participants