-
-
Notifications
You must be signed in to change notification settings - Fork 484
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
Yaml Comment. #584
Yaml Comment. #584
Conversation
add a description attribute about property. if used,when Serialize(),the result will have a yaml comment on that property.
add a description attribute about property. if used,when Serialize(),the result will have a yaml comment on that property.
Thanks for this. I'll try to fix the CI so that the build passes. Could you add some tests to show that this works as intended ? |
add a xunit test .cs file about yaml comments. it`s just an easy comment above the property when Serialize(*).
add a test about that. |
@aaubry, is there any chance we have this merged and released soon? |
Sorry, I will check this later today and will release afterwards.
30 Mar 2021 12:50:14 PAWEŁ PAWŁOW ***@***.***>:
… @aaubry[https://github.com/aaubry], is there any chance we have this merged and released soon?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub[#584 (comment)], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AAEZ5X2XAP3QBVZP2YGK4GTTGG3HLANCNFSM4X5ZXATA].
[data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAYAAAA4E5OyAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAAoSURBVHic7cEBAQAAAIIg/69uSEABAAAAAAAAAAAAAAAAAAAAAACPBkiEAAHzeIrHAAAAAElFTkSuQmCC###24x24:true###][Tracking image][https://github.com/notifications/beacon/AAEZ5X4KSNCFKKZFDRSS3LDTGG3HLA5CNFSM4X5ZXATKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGBFAHJQ.gif]
|
I'm going to merge this, but I made some changes that you can check here:
|
What dou you mean by "Otherwise the test was not testing anything"? |
I'm sorry, I didn't mean to sound dismissive. What I mean is that the test was not making any assertion. This means that if a later change breaks the functionality, we won't find out unless we remember to check the output of the test. |
This feature has just been released, in YamlDotNet 10.1.0. |
@aaubry - I just have a follow up question about this merge: is this change what may have caused a broken reference to be added to We saw reference resolution issues during |
I'm not sure what you mean. What is index.json ? |
The nuget manifest for your package in the public nuget repository: https://api.nuget.org/v3/registration5-gz-semver2/yamldotnet/index.json. It now looks correct, but yesterday when we started seeing build failures shortly after this merge, it looked like the following:
Please note the |
I don't know. For feature branches, the CI is configured to publish a pre-release package so that users can test the feature. This is what happened here, but I wouldn't expect this to cause problems. |
Thanks @aaubry! Yeah, I actually ended up nuking the cache from our central artifactory as well as the local cache, to no avail. It kept getting refreshed with the same references from the public nuget repo, which leads me to believe the problem existed at the source (nuget.org). |
I'm glad that the problem went away. I will keep an eye on the feed to see if this happens again. Thanks |
Much appreciated! |
add a description attribute about property.
if used,when Serialize(),the result will have a yaml comment on that property.