Skip to content

Conversation

@MichalHaluza
Copy link
Contributor

YAML parser creates object references when using YAML anchors. When one object in the tree is frozen, it affects all references to it, so when the traversal encounters a reference to already frozen object, it must not attempt to freeze it again. This commit enhances the type checks and skips freezing of already frozen objects.

rbikar
rbikar previously approved these changes Oct 15, 2025
YAML parser creates object references when using YAML anchors.
When one object in the tree is frozen, it affects all references to it,
so when the traversal encounters a reference to already frozen object,
it must not attempt to freeze it again. This commit enhances the type
checks and skips freezing of already frozen objects.
@crungehottman crungehottman merged commit 42d7e4d into release-engineering:master Oct 15, 2025
6 checks passed
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

Successfully merging this pull request may close these issues.

3 participants