mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
minor typo fixes (#165)
Co-authored-by: Colby Thomas <coloradocolby@gmail.com> GITHUB_PR_NUMBER: 6311 GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6311 Co-authored-by: Colby Thomas <coloradocolby@gmail.com> Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com> GitOrigin-RevId: 946665878fb9199d067ad1bd981de9525e86a0ae
This commit is contained in:
parent
564184ef95
commit
da3c9f2c53
@ -292,7 +292,7 @@ validateInsert insCols objRels addCols = do
|
||||
relNameTxt = relNameToTxt relName
|
||||
lColConflicts = lCols `intersect` (addCols <> insCols)
|
||||
withPathK relNameTxt $ unless (null lColConflicts) $ throw400 ValidationFailed $
|
||||
"cannot insert object relation ship " <> relName
|
||||
"cannot insert object relationship " <> relName
|
||||
<<> " as " <> showPGCols lColConflicts
|
||||
<> " column values are already determined"
|
||||
where
|
||||
|
@ -48,4 +48,4 @@ response:
|
||||
- extensions:
|
||||
code: validation-failed
|
||||
path: $.selectionSet.insert_article.args.objects[0].author
|
||||
message: "cannot insert object relation ship \"author\" as \"author_id\" column values are already determined"
|
||||
message: "cannot insert object relationship \"author\" as \"author_id\" column values are already determined"
|
||||
|
Loading…
Reference in New Issue
Block a user