Graphql-engine: incorrect error code when insertion check constraint fails

Created on 6 Aug 2018  路  2Comments  路  Source: hasura/graphql-engine

{
  "errors": [
    {
      "path": "$",
      "error": "Check constraint violation. insert check constraint failed",
      "code": "postgres-error"
    }
  ]
}

It shouldn't be postgres-error, should either be permission-error or access-denied.

server quickfix bug

All 2 comments

[via thangngoc89#8365 on discord]

@thangngoc89 candidate for alpha13

Was this page helpful?
0 / 5 - 0 ratings