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

naive wave 1 of moving to STJ #1026

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tebeco
Copy link

@tebeco tebeco commented Oct 11, 2024

this was done, probably at the end of 2023

I just pushed it for someone else if they wanted to take a look 😄
and it's also incomplete

it was mostly "so that it's not lost"

that's also in draft for that reason
I'll probably remove it at some point and delete the branch / fork and everything

Comment on lines +144 to +147
.AddJsonOptions(options =>
{
options.SerializerSettings.Converters.Add(new StringEnumConverter());
options.SerializerSettings.Converters.Add(new StringULongConverter());
options.JsonSerializerOptions.Converters.Add(new JsonStringEnumConverter());
options.JsonSerializerOptions.Converters.Add(new StringULongConverter());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, I don't think this is needed
In the WASM rewrite I completely removed newtonsoft on the ASP.NET side of things including the converters

I assume this is a remnant from the Vue days.

https://github.com/discord-csharp/MODiX/pull/1024/files#diff-141af68f60363a161017e6a0436aee53c10f47342727cec85b45296ce905db14L142-L148

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let me update the PR description to clarify the context

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.

2 participants