adobe / hyde

A front-end to Jekyll that parses C++ sources to produce and enforce out-of-line documentation
http://opensource.adobe.com/hyde/
MIT License
323 stars 41 forks source link

Handle editable scalar value that is an unexpected tag #57

Closed baheath closed 4 years ago

baheath commented 4 years ago

Make sure we handle cases where an editable scalar has a value that is an unexpected tag.

This scenario can happen if someone edits the value from, say __MISSING__ to __OPTIONAL__ or if we change a field within Hyde from optional to required, for example. Before, we would have have accepted such a value. Now, it will be a validation error, and will corrected to the expected tag during the update operation.