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
Hey, thanks a lot for creating and maintaining this library. I have started exploring this library as part of extending a snapshot testing library that I have https://github.com/gkampitakis/go-snaps and I want to support YAML snapshots. I was looking into yaml.PathString and when I pass a path with starting with a dot it panics.
Also apart from the README.md I can't find any examples or documentation for the valid yaml path syntax, maybe I missed it.
Describe the bug
Hey, thanks a lot for creating and maintaining this library. I have started exploring this library as part of extending a snapshot testing library that I have https://github.com/gkampitakis/go-snaps and I want to support YAML snapshots. I was looking into
yaml.PathString
and when I pass a path with starting with a dot it panics.Also apart from the README.md I can't find any examples or documentation for the valid yaml path syntax, maybe I missed it.
To Reproduce
Please provide a minimum yaml content that can be reproduced.
We are more than happy to use Go Playground
Expected behavior
I would expect an error if this is invalid path.
Version Variables
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: