Open leoliu opened 5 years ago
Hi!
It is currently a bug because we still have to do some input coercion on binary types:
https://github.com/shopgun/graphql-erlang/blob/develop/src/graphql_scalar_binary_coerce.erl#L5
The specification is somewhat lax in this case. We should probably convert the atoms true
and false
into <<"true">>
and <<"false">>`, IIRC what the spec is saying.
Thanks for the update.
Using v0.15.0 here.
I can provide a boolean value to
name
andgraphql:type_check_params/3
happily succeeds in this case.New to graphql and this application in particular, am I doing something wrong or is this a bug?