We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b60345 commit 1289975Copy full SHA for 1289975
2 files changed
tests/dbsetup/link_set.gel
@@ -0,0 +1,34 @@
1
+module default {
2
+ type Named {
3
+ required property name: std::str;
4
+ };
5
+
6
+ type House extending Named {
7
+ # Computed multi
8
+ multi members := .<house[is Person];
9
10
11
+ type Person extending Named {
12
+ # Single with prop
13
+ house: House {
14
+ rank: std::str;
15
16
+ # Multi with prop
17
+ multi friends: Person {
18
+ opinion: std::str;
19
20
+ # Single
21
+ pet: Pet {
22
+ constraint exclusive;
23
24
+ # Multi
25
+ multi classes: Class;
26
27
28
+ type Pet extending Named {
29
+ # Computed single
30
+ owner := .<pet[is Person];
31
32
33
+ type Class extending Named;
34
+}
0 commit comments