You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[YamlIgnore] doesn't exactly work - properties having it are still invoked, and their results are discarded only afterwards.
For example, if a property with [YamlIgnore] throws an exception, this will make the serialization process abort.
To repro, go to the ContainsIgnore class in SerializationTests.cs and throw exceptions from the getter/setter. I've created a commit that demonstrates this for the original YamlDotNet here: roji/YamlDotNet@648463e
The text was updated successfully, but these errors were encountered:
[YamlIgnore] doesn't exactly work - properties having it are still invoked, and their results are discarded only afterwards.
For example, if a property with [YamlIgnore] throws an exception, this will make the serialization process abort.
To repro, go to the ContainsIgnore class in SerializationTests.cs and throw exceptions from the getter/setter. I've created a commit that demonstrates this for the original YamlDotNet here: roji/YamlDotNet@648463e
The text was updated successfully, but these errors were encountered: