Skip to content

Commit f1382b6

Browse files
committed
update to accomodate for latest plugin versino
1 parent 7c92a87 commit f1382b6

27 files changed

+3758
-296
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
extend type DirectedBy {
2+
"""
3+
✨ Implicit foreign key field based on `DirectedBy`.`movie`. It must match the value of `Movie`.`id`. See `@ref` for how to customize it.
4+
"""
5+
movieId: UUID! @fdc_generated(from: "DirectedBy.movie", purpose: IMPLICIT_REF_FIELD)
6+
"""
7+
✨ Implicit foreign key field based on `DirectedBy`.`directedby`. It must match the value of `Person`.`id`. See `@ref` for how to customize it.
8+
"""
9+
directedbyId: UUID! @fdc_generated(from: "DirectedBy.directedby", purpose: IMPLICIT_REF_FIELD)
10+
}
11+
extend type Movie {
12+
"""
13+
✨ Implicit primary key field. It's a UUID column default to a generated new value. See `@table` for how to customize it.
14+
"""
15+
id: UUID! @default(expr: "uuidV4()") @fdc_generated(from: "Movie", purpose: IMPLICIT_KEY_FIELD)
16+
}
17+
extend type Person {
18+
"""
19+
✨ Implicit primary key field. It's a UUID column default to a generated new value. See `@table` for how to customize it.
20+
"""
21+
id: UUID! @default(expr: "uuidV4()") @fdc_generated(from: "Person", purpose: IMPLICIT_KEY_FIELD)
22+
}
23+
extend type Thing {
24+
"""
25+
✨ Implicit primary key field. It's a UUID column default to a generated new value. See `@table` for how to customize it.
26+
"""
27+
id: UUID! @default(expr: "uuidV4()") @fdc_generated(from: "Thing", purpose: IMPLICIT_KEY_FIELD)
28+
}
29+
extend type TimestampHolder {
30+
"""
31+
✨ Implicit primary key field. It's a UUID column default to a generated new value. See `@table` for how to customize it.
32+
"""
33+
id: UUID! @default(expr: "uuidV4()") @fdc_generated(from: "TimestampHolder", purpose: IMPLICIT_KEY_FIELD)
34+
}

0 commit comments

Comments
 (0)