You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Attempting to build a YaML path that points to the root of the YaML document (so just $) fails. The errors in the stack of errors are failed to read node, failed to filter from ast.File, failed to find path ( $ ), and node not found.
Expected behavior
A path is created that points to the root of the YaML document. Alternatively, the YaML path should be treated as invalid when attempting to create it.
Version Variables
Go version: 1.22
go-yaml's Version: v1.11.3
The text was updated successfully, but these errors were encountered:
Describe the bug
Attempting to build a YaML path that points to the root of the YaML document (so just
$
) fails. The errors in the stack of errors arefailed to read node
,failed to filter from ast.File
,failed to find path ( $ )
, andnode not found
.To Reproduce
Example failure - https://go.dev/play/p/UHfjmW_lYLf
Expected behavior
A path is created that points to the root of the YaML document. Alternatively, the YaML path should be treated as invalid when attempting to create it.
Version Variables
The text was updated successfully, but these errors were encountered: