Daniil Churikov
Daniil Churikov
any news on this?
``` MySQL [mydb]> CREATE TABLE test (is_error boolean not null); (test@mypc)4> emysql:execute(mypool, "INSERT INTO test VALUES(?)", [true]). MySQL [mydb]> SELECT * FROM test; +----------+ | is_error | +----------+ | 0...
@kittee I am sorry but it is still reproducible for me with master branch. And I don't see why it shouldn't, until there is no special clause for atoms `true`...
@kittee I understand that, my example show what sout of confusion may occur without proper fix.
Bump, what is the status of this issue?
I trace down a problem, looks like `kvc` issue. This is JsonSchema from here https://github.com/ddossot/jerg/blob/master/src/jerg.erl#L329 ``` erlang [{,}, {, [[{,}], [{, [{, [{,},{,true}]}]}]]}] ``` And result of https://github.com/ddossot/jerg/blob/master/src/jerg.erl#L330 will be...
``` erlang true = [a, b, c] == kvc:path([extends, '$ref'], [{extends, [ [{'$ref', a}], [{'$ref', b}], [{'$ref', c}] ]}]). ```