-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Attribute mapping added #13
Attribute mapping added #13
Conversation
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 |
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 |
@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. |
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.