Closed SafeerH closed 4 months ago
@svenheden would you mind taking a look at this so csharp-models-to-typescript can be used again?
It appears that the owner of this project has left it. @svenheden, is there a way to add other people as project maintainers to validate and accept the PRs?
Sorry guys, I haven't given much attention to this lib lately, that's correct. @digocesar and/or @SafeerH you guys have made good contributions before, would you like to be added as a maintainers?
Hi @svenheden. Yes, I would. I still use this project and can help maintain it. I just don't know how the process of publishing a new release to npm is done. But then you do this part... ;)
Hi @svenheden, same here. I still use this lib and would be happy to help.
Thanks! Have added you both as collaborators to this repo now. Merge whatever you see fit and give me a ping when you want me to publish a new version to npm :)
Hi @digocesar, would you be able to take a look at this PR? Thanks!
It's not working for me. I assume it's due to the serializer changing. And I use Windows!
Isn't it better to do a PR just to upgrade .Net and components and then doing another PR changing the serializer?
I'm using Windows too and I don't think it is due to the serializer change. The following section from your screenshot is the output that is generated from the serializer.
As per your screenshot, the error is due to a C# compiler warning from a file called Util.cs
. But there's no such file in this repository and I'm wondering how did you get that file into your codebase (csharp-models-to-typescript\Util.cs
).
I had this error when I took this new code and put it in the node_modules folder of a project I have and tried to run it. I'll try to analyze the reason for the problem then.
Ok. My mistake testing before. It is working! ;)
Upgrade .NET dependencies (Retarget to .NET 8) and replace Newtonsoft.Json with System.Text.Json (also fixes #73)
@svenheden hope you'll like this.