hunk.code_window: import qualified Hasura.GraphQL.Transport.HTTP.Protocol as GH
   import qualified Hasura.GraphQL.Validate                as GV
   import qualified Hasura.RQL.DML.Select                  as RS
   import qualified Hasura.Server.Query                    as RQ
   data GQLExplain
     = GQLExplain
     { _gqeQuery :: !GH.GraphQLRequest
  
hunk.labels: keep keep keep add keep keep keep keep
hunk.after_edit: import qualified Hasura.SQL.DML                         as S
  
hunk.file_path: server/src-lib/Hasura/GraphQL/Explain.hs
hunk.type: add
file: description: Inserts author without bio as a student (Error)
  url: /v1/query
  status: 400
  headers:
    X-Hasura-Role: student
  response:
    path: $.args
    error: Check constraint violation. insert check constraint failed
    code: permission-error
  query:
    type: insert
    args:
      table: author
      objects:
        - id: 5
          name: Student 1
          is_registered: false
  