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 get false validation errors for schemas with a type constraint for boolean, number and integer when using the yaml-cpp adapter. See code below to reproduce the issue.
Maybe you could try the conversion and catch the BadConversion but I'm not familiar enough with either yaml-ccp or valijson to be sure that's the right way. Something like:
Hello and thank you for this library!
I get false validation errors for schemas with a
type
constraint forboolean
,number
andinteger
when using the yaml-cpp adapter. See code below to reproduce the issue.I believe this is because the
isBool
,isDouble
,isInteger
,isNumber
andisString
methods inyaml_cpp_adapter.hpp
return literaltrue
s andfalse
s.Code to reproduce the issue:
Thank you!
The text was updated successfully, but these errors were encountered: