hunk.code_window: response:
     errors:
     - extensions:
         path: '$.variableValues[0].location.coordinates'
         code: parse-failed
       message: A Position needs at least 2 elements
   query:
     variables:
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.after_edit:       path: '$.variableValues.landmarks[0].location.coordinates'
  
hunk.file_path: server/tests-py/queries/graphql_mutation/insert/geojson/insert_landmark_single_position_err.yaml
hunk.type: replace
file: description: Inserting as polygon with last and first point not being same; error
  url: /v1alpha1/graphql
  status: 400
  response:
    errors:
    - extensions:
        code: parse-failed
        path: $.variableValues[0].area.coordinates[0]
      message: the first and last locations have to be equal for a LinearRing
  query:
    variables:
      areas:
      - name: Foo
        area:
          coordinates:
          -
            - [43.75049, 11.03207]
            - [43.80009, 11.03208]
            - [42.60009, 10.13248]
            - [45.60009, 13.13248]
          type: Polygon
    query: |
      mutation insertArea($areas: [area_insert_input!]!) {
        insert_area(objects: $areas) {
          returning{
            id
            name
            area
          }
        }
      }
  