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:
hasura-bot 2021-03-04 12:05:16 +05:30
parent 564184ef95
commit da3c9f2c53
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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"