How to handle nodes that don't exist in the yaml file? #498
Replies: 1 comment
|
Updated the single header and now using |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I want to access a field that isn't always present. When it isn't, it returns a parsing error such as
throw type_error("The target node value type is not integer type.", n.get_type());How can I set a default value to use when the node doesn't exist?
Thanks!
All reactions