summaryrefslogtreecommitdiff
path: root/test/JsDeepConstructorTest.thrift
diff options
context:
space:
mode:
authorHenrique Mendonça <henrique@apache.org>2015-08-16 19:17:33 +1000
committerHenrique Mendonça <henrique@apache.org>2015-08-16 19:17:33 +1000
commit738143cf36436d65c7e379351968e6e0a1f4ca3f (patch)
treef58eb4ee44b020643f3efe5c6fe2d430316688c9 /test/JsDeepConstructorTest.thrift
parentbb98e97fd3c82117c87d23e3fb6b8bbd800784f2 (diff)
downloadthrift-738143cf36436d65c7e379351968e6e0a1f4ca3f.tar.gz
THRIFT-3293 JavaScript: null values turn into empty structs in constructor
Patch: Håkon Hitland
Diffstat (limited to 'test/JsDeepConstructorTest.thrift')
-rw-r--r--test/JsDeepConstructorTest.thrift4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/JsDeepConstructorTest.thrift b/test/JsDeepConstructorTest.thrift
index 9150854b2..c2e23af91 100644
--- a/test/JsDeepConstructorTest.thrift
+++ b/test/JsDeepConstructorTest.thrift
@@ -10,3 +10,7 @@ struct Complex {
5: list<set<map<string,list<Simple>>>> struct_nested_containers_field
6: map<string, list<map<string,Simple>> > struct_nested_containers_field2
}
+
+struct ComplexList {
+ 1: list<Complex> struct_list_field;
+}