Skip to content

Commit f5c83a0

Browse files
p-alikweiznich
andauthored
Update wundergraph_cli/src/print_schema/snapshots/[email protected]
Co-authored-by: Georg Semmler <[email protected]>
1 parent 52397a2 commit f5c83a0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

wundergraph_cli/src/print_schema/snapshots/[email protected]

+2-3
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ allow_tables_to_appear_in_same_query!(
4444
#[primary_key(id)]
4545
pub struct Comment {
4646
id: i32,
47-
post: Option<i32>,
48-
commenter: Option<i32>,
47+
post: Option<HasOne<i32, Post>>,
48+
commenter: Option<HasOne<i32, User>>,
4949
content: String,
5050
}
5151

@@ -147,4 +147,3 @@ wundergraph::mutation_object!{
147147
}
148148
}
149149

150-

0 commit comments

Comments
 (0)