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
YAML alias syntactic analysis #3703
Comments
Architectural designWe will create a new module in https://github.com/swagger-api/apidom/tree/main/packages/apidom-ast/src/yaml called
ReferenceManage will look like this to abide to YAML 1.2 nomenclature:
The ReferenceManager needs to be exposed from Now it's important to understand that we don't want to support anchors and aliases fully - that is part of #131. What we need now is a basic framework of anchor and alias processing, with dummy implementation. Now what does the dummy implementation mean? Inside the |
Addressed in #3785 |
It seems that YamlAlias AST Node it not properly translated to ApiDOM. After the syntactic analysis the YamlAlias AST Node seems to be part of ApiDOM which is wrongs, as the ApiDOM shouldn't be aware of AST layer at all. This can cause various side effects in any higher level algorithms like serialization or transformation...
The goal of this issue is fix the bug and verify with simple unit test.
Refs #131
The text was updated successfully, but these errors were encountered: