Javascript client: Please make required fields actually required. 
------------------------------------------------------------------

                 Key: THRIFT-809
                 URL: https://issues.apache.org/jira/browse/THRIFT-809
             Project: Thrift
          Issue Type: Improvement
          Components: Compiler (JavaScript)
            Reporter: Jordan


If fields are marked as required then I think that we should be forced to 
supply all of them, even if supplied with null values. Currently, I am able to 
construct an object without all of the required fields, send it to my backend, 
and nowhere does an error occur before sending. This should fail fast at the 
client. Instead, on the server I get null values. Null is so different than 
unspecified. 
Thanks!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to