summaryrefslogtreecommitdiff
path: root/test/Types.thrift
diff options
context:
space:
mode:
authorMustafa Senol Cosar <mustafa@unscrambl.com>2019-03-01 18:57:09 +0300
committerJames E. King III <jking@apache.org>2019-06-21 06:38:32 -0400
commit3f0d4447919a7b358e60b09ab919bbe52758cc98 (patch)
treee2f4f5219346452ebe3866ec3a8e671c4d48172a /test/Types.thrift
parent96c6113dda9869b7e2d4318bc0bce4f12f3ca3d2 (diff)
downloadthrift-3f0d4447919a7b358e60b09ab919bbe52758cc98.tar.gz
Implement episodic compilation for js code generation
Diffstat (limited to 'test/Types.thrift')
-rw-r--r--test/Types.thrift23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/Types.thrift b/test/Types.thrift
new file mode 100644
index 000000000..11069d998
--- /dev/null
+++ b/test/Types.thrift
@@ -0,0 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+struct Type1 {
+ 1: i32 number,
+ 2: string message,
+} \ No newline at end of file