Skip to content

Remove unnecessary ToString() in VerifyJsonWriter#1711

Merged
SimonCropp merged 1 commit into
mainfrom
Remove-unnecessary-ToString()-in-VerifyJsonWriter
Apr 7, 2026
Merged

Remove unnecessary ToString() in VerifyJsonWriter#1711
SimonCropp merged 1 commit into
mainfrom
Remove-unnecessary-ToString()-in-VerifyJsonWriter

Conversation

@SimonCropp
Copy link
Copy Markdown
Member

Pass the value directly to base.WriteRawValue instead of calling value.ToString().

Pass the value directly to base.WriteRawValue instead of calling value.ToString().
@SimonCropp SimonCropp added this to the 31.16.0 milestone Apr 7, 2026
@SimonCropp SimonCropp merged commit eee1fdd into main Apr 7, 2026
7 checks passed
@SimonCropp SimonCropp deleted the Remove-unnecessary-ToString()-in-VerifyJsonWriter branch April 7, 2026 12:06
This was referenced Apr 16, 2026
agocke pushed a commit to serdedotnet/serde that referenced this pull request May 16, 2026
Updated [Verify.XunitV3](https://github.com/VerifyTests/Verify) from
31.15.0 to 31.16.3.

<details>
<summary>Release notes</summary>

_Sourced from [Verify.XunitV3's
releases](https://github.com/VerifyTests/Verify/releases)._

## 31.16.3

No issues in this milestone yet.

## 31.16.2

- [x] [#​1714](VerifyTests/Verify#1714)
Unexpected empty.nupkg in output directory
- [x] [#​1721](VerifyTests/Verify#1721) XUnit
V3: Adds attachment with colon in filename - GitHub artifacts upload
fails
- [x] [#​1723](VerifyTests/Verify#1723) Strip
solution dir prefix from XunitV3 attachment names

## 31.16.1

- [x] [#​1718](VerifyTests/Verify#1718) Handle
eof and missing ihdr in png decoder

## 31.16.0

- [x] [#​1704](VerifyTests/Verify#1704) Add
ScrubNumericIds
- [x] [#​1707](VerifyTests/Verify#1707) Minor
micro-optimizations for Verify project.
- [x] [#​1708](VerifyTests/Verify#1708) Add
Target comparer and avoid string allocations.
- [x] [#​1709](VerifyTests/Verify#1709)
ApplyForPropertyValue returns string instead of CharSpan
- [x] [#​1710](VerifyTests/Verify#1710) In-place
sort instead of LINQ OrderByDescending
- [x] [#​1711](VerifyTests/Verify#1711) Remove
unnecessary ToString() in VerifyJsonWriter
- [x] [#​1716](VerifyTests/Verify#1716) add Png
ssim comparer
- [x] [#​1717](VerifyTests/Verify#1717) Throw on
null assembly in TryGetType for bad plugin assembly

Commits viewable in [compare
view](VerifyTests/Verify@31.15.0...31.16.3).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Verify.XunitV3&package-manager=nuget&previous-version=31.15.0&new-version=31.16.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant