Closed jdrukman closed 10 years ago
I can't reproduce this. Booleans should be passed as JS boolean values and they are parsed as booleans as well.
var proto = revgeo_schema().serialize(ob);
Not sure what you're doing with call to "revgeo_schema", it's not a function. See readme for an example.
P.S. It seems you're using chrisdew/protobuf, not this library.
Well, that was embarrassing. The good news is I found out about your library this way, and I'm using it now. It works perfectly! Thanks.
The .proto looks like this
My js code:
The protobuf never changes no matter what I do for include_address. I tried true, 1, "1", "true", etc...