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
I believe I found a bug when setting allow_missing_members or allow_unassigned_required_members. In the example below, parseTo() does indeed return an error (in one of my tests, a JS::Error::MissingPropertyMember), but when makeErrorString() is called it returns "Error NoError:".
Hello! Thank you again for your bugreport!
This should now be fixed. https://godbolt.org/z/9rhTsrMa5
Please note that the JSON and C++ members leading to errors are accessible in the ParseContext through the members:
I believe I found a bug when setting
allow_missing_members
orallow_unassigned_required_members
. In the example below,parseTo()
does indeed return an error (in one of my tests, aJS::Error::MissingPropertyMember
), but whenmakeErrorString()
is called it returns "Error NoError:".Output:
Error parsing struct: Error NoError:
Expected: either a
MissingPropertyMember
orUnassignedRequiredMember
error string, depending on the circumstances.The text was updated successfully, but these errors were encountered: