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

Incorrect duplicate key registered when using YAML anchors #1083

Open
3 tasks
MostafaWael-CA opened this issue Jan 16, 2025 · 0 comments
Open
3 tasks

Incorrect duplicate key registered when using YAML anchors #1083

MostafaWael-CA opened this issue Jan 16, 2025 · 0 comments

Comments

@MostafaWael-CA
Copy link

Describe the bug

I receive a "Map keys must be unique" error highlight and tooltip when reference multiple YAML anchors at the same level within an element.

microservice_name:
    ...
    <<: *baseService
    <<: *baseIngress
   ...

Expected Behavior

It shouldn't mark them as duplicate keys.

Current Behavior

It marks them as duplicate keys.

Environment

  • Windows
  • Mac
  • Linux
  • other (please specify)

This is the same issue as issue 82

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