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

Support smart anchor option #662

Merged
merged 1 commit into from
Feb 16, 2025
Merged

Support smart anchor option #662

merged 1 commit into from
Feb 16, 2025

Conversation

goccy
Copy link
Owner

@goccy goccy commented Feb 16, 2025

yaml.WithSmartAnchor() option automatically assigns an anchor name to a value when the same pointer address is found during encoding and uses an alias for reference points

ref #606

Verified

This commit was signed with the committer’s verified signature.
goccy Masaaki Goshima
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 80.00000% with 21 lines in your changes missing coverage. Please review.

Project coverage is 77.61%. Comparing base (b46780d) to head (0979fac).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #662   +/-   ##
=======================================
  Coverage   77.61%   77.61%           
=======================================
  Files          22       22           
  Lines        7858     7953   +95     
=======================================
+ Hits         6099     6173   +74     
- Misses       1346     1362   +16     
- Partials      413      418    +5     

@goccy goccy merged commit abc7083 into master Feb 16, 2025
20 checks passed
@goccy goccy deleted the smart-anchor branch February 16, 2025 11:52
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.

None yet

2 participants