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

ZLOG0191: Use IFormattable instead of ISpanFormattable #199

Closed
wants to merge 1 commit into from

Conversation

Nakano37
Copy link
Contributor

@Nakano37 Nakano37 commented Jan 9, 2025

Remove net8.0 check for magicbox ToString IFormattable check

Unfortunately the previous fix didn't fully address this issue. When I was testing locally I was building the dll with net8.0 so everything was working as expected, so I didn't update this case, but the build released to NuGet, while supporting net8.0, doesn't apparently have NET8_0 defined when built so it still falls back into the JSON serializer instead of checking for IFormattable and appending as formatted.

Updated pull request with that check removed.

@Nakano37 Nakano37 closed this Jan 9, 2025
@Nakano37
Copy link
Contributor Author

Nakano37 commented Jan 9, 2025

NM, was missing an IFormattable tag.

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.

1 participant