Closed Wulfheart closed 2 years ago
Looks good, the only question I would have is if you could possibly add some unit tests to validate this behaviour? Then I will gladly merge this.
Actually, ignore that, the test failed, you need to use FirstOrDefault
instead of First
Thanks for your comments.
How can I run the tests locally with the CLI or Rider? Anywhere to look?
Rider should pick up the tests automatically, if you go to the Unit Tests tool window (View -> Tool Windows -> Unit Tests). Alternatively, the command is dotnet test
from the solution folder
@SamboyCoding Added tests and serialization also works now.
The build is failing because the resx file hasn't been recompiled, but I'll trust you if you say it works now, and the changes look like they make sense, I'll merge this in a bit and recompile the resx myself, then push to nuget.
😉
Thank you! I'm looking forward to it.
Thanks for merging. Is there already a release on Nuget?
Not yet, but I'm working on it now. Got one issue to fix then I'll publish and update you here
@Wulfheart The build is now validating on nuget - I anticipate it becoming available within 5-10 minutes.
Hello, I wanted to map specific properties. For example a
name = "Something"
should be mapped topublic string Name
. This can be achieved like this:Currently I made it available under https://www.nuget.org/packages/Wulfheart.Tomlet/2.1.0 until it gets eventually merged.