Skip to content

Commit

Permalink
Merge pull request #138 from freysie/patch-2
Browse files Browse the repository at this point in the history
Fix typo in relationship.mdx
  • Loading branch information
d-exclaimation authored Jul 13, 2023
2 parents c0556ff + 4b5553f commit 06eddfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/pages/docs/fundamentals/relationship.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func schema() throws -> Schema<Resolver, Context> {
Type(Car.self) {
Field("id", at: \.id)
Field("model", at: \.model)
Field("parts", at: Car.parts, at: [Part].self)
Field("parts", at: Car.parts, as: [Part].self)
}

Type(Part.self) {
Expand Down

0 comments on commit 06eddfa

Please sign in to comment.