yaml.WithComment is a option for encoding with comment.
The position where you want to add a comment is represented by YAMLPath, and it is the key of yaml.CommentMap.
Also, you can select Head comment or Line comment as the comment type.
Fixing Issue 186, scanner should account for newline characters when processing multi-line text. Without this source annotations line/column number (for this and all subsequent tokens) is inconsistent with plain text editors. e.g. goccy/go-yaml#186. This addresses the issue specifically for single and double quote text only. ( #210 )
Add error for unterminated flow mapping node ( #213 )
yaml.WithComment is a option for encoding with comment.
The position where you want to add a comment is represented by YAMLPath, and it is the key of yaml.CommentMap.
Also, you can select Head comment or Line comment as the comment type.
Fixing Issue 186, scanner should account for newline characters when processing multi-line text. Without this source annotations line/column number (for this and all subsequent tokens) is inconsistent with plain text editors. e.g. goccy/go-yaml#186. This addresses the issue specifically for single and double quote text only. ( #210 )
Add error for unterminated flow mapping node ( #213 )
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github.com/goccy/go-yaml from 1.8.0 to 1.9.2.
Release notes
Sourced from github.com/goccy/go-yaml's releases.
... (truncated)
Changelog
Sourced from github.com/goccy/go-yaml's changelog.
... (truncated)
Commits
578512e
Update CHANGELOG2742b89
Merge pull request #238 from goccy/feature/with-comment225a4d7
Refactor3c954f0
Rename test case43175b6
Support WithComment optioncc0aeb9
Update CHANGELOG52e99f4
Merge pull request #237 from zoncoen/node-to-value-anchor416f941
Fix decode nodes included anchors4aa259b
Update CHANGELOG894a764
Merge pull request #235 from goccy/feature/rename-context-apiDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)