Skip to content

Commit

Permalink
xplat/thrift/lib/ [A] [A] [A]
Browse files Browse the repository at this point in the history
Reviewed By: zertosh

Differential Revision: D69185876

fbshipit-source-id: 74df429ed3a47b57e529882e86fad675bb425cd4
  • Loading branch information
David Tolnay authored and facebook-github-bot committed Feb 7, 2025
1 parent 35a8a01 commit 07df3a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion thrift/lib/java/test-if/lazy_any.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/

include "thrift/conformance/if/any.thrift"
include "thrift/annotation/thrift.thrift"

package "test.dev/thrift/lib/java/test/any"

Expand All @@ -36,13 +37,14 @@ struct Circle {
4: Position position;
}

@thrift.Uri{value = "test.dev/thrift/lib/java/test/any/Rec"}
struct Rectangle {
1: i32 color;
2: i32 len;
3: i32 width;
4: Position position;
5: any.LazyAny canvas; // can be Image or SolidColor
} (thrift.uri = "test.dev/thrift/lib/java/test/any/Rec")
}

struct Image {
1: binary jpg;
Expand Down

0 comments on commit 07df3a3

Please sign in to comment.