[ https://issues.apache.org/jira/browse/THRIFT-1277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13087109#comment-13087109 ]
Wade Simmons commented on THRIFT-1277: -------------------------------------- This will serialize `undefined` as `true`. Perhaps use `!= null` instead which catches both `undefined` and `null`. > Node.js serializes false booleans as null > ----------------------------------------- > > Key: THRIFT-1277 > URL: https://issues.apache.org/jira/browse/THRIFT-1277 > Project: Thrift > Issue Type: Bug > Components: JavaScript - Compiler > Affects Versions: 0.7 > Reporter: Hans Duedal > Labels: compiler, node, nodejs > Fix For: 0.7 > > Attachments: nodejs_compiler_false_bools.patch > > > When serializing boolean types, false booleans are serialized as null instead > of false. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira