Skip to content

Can I trigger an exception on missing fields? #813

Answered by EdwardCooke
stdNullPtr asked this question in Q&A
Discussion options

You must be logged in to vote

There’s pretty good comments on the yamlmemberattribute that you can review. They should also show up in intelligence in visual studio.

https://github.com/aaubry/YamlDotNet/blob/master/YamlDotNet/Serialization/YamlMemberAttribute.cs

I don’t think there’s any formal documentation on it.

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@stdNullPtr
Comment options

Comment options

You must be logged in to vote
1 reply
@stdNullPtr
Comment options

Answer selected by stdNullPtr
Comment options

You must be logged in to vote
1 reply
@stdNullPtr
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants