hunk.code_window:         "object-assign": "^4.0.1"
         },
         "dependencies": {
           "dotenv": {
             "version": "2.0.0",
             "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-2.0.0.tgz",
             "integrity": "sha1-vXWcNXqqcDZeAclrewvsCKbg2Uk=",
             "dev": true
           }
         }
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit:           "resolved": "http://registry.npmjs.org/dotenv/-/dotenv-2.0.0.tgz",
  
hunk.file_path: console/package-lock.json
hunk.type: replace
file: description: Insert into author table as user role (Unique Constraint Error)
  url: /v1alpha1/graphql
  status: 400
  query:
    query: |
      mutation {
        insert_author(objects: [{name: "Author 2"}]){
          returning{
            id
            name
          }
          affected_rows
        }
      } 
  response:
    errors:
    - path: $.selectionSet.insert_author.args.objects
      error: "Uniqueness violation. duplicate key value violates unique constraint \"author_name_key\""
      code: constraint-violation
  