hunk.code_window: status: 400
   response:
     errors:
     - extensions:
         code: parse-failed
         path: $.variableValues[0].area.coordinates[0]
       message: A LinearRing needs at least 4 Positions
   query:
     variables:
       areas:
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit:       path: $.variableValues.areas[0].area.coordinates[0]
  
hunk.file_path: server/tests-py/queries/graphql_mutation/insert/geojson/insert_area_less_than_4_points_err.yaml
hunk.type: replace
file: type: bulk
  args:
  
  #Author table
  - type: run_sql
    args:
      sql: |
        create table author(
            id serial primary key,
            name text unique
        );
  - type: track_table
    args:
      schema: public
      name: author
  
  #Article table
  - type: run_sql
    args:
      sql: |
        CREATE TABLE article (
          id SERIAL PRIMARY KEY,
          title TEXT,
          content TEXT,
          author_id INTEGER NOT NULL REFERENCES author(id),
          is_published BOOLEAN,
          published_on TIMESTAMP
        )
  - type: track_table
    args:
      schema: public
      name: article
  
  #Object relationship
  - type: create_object_relationship
    args:
      table: article
      name: author
      using:
        foreign_key_constraint_on: author_id
  
  #Array relationship
  - type: create_array_relationship
    args:
      table: author
      name: articles
      using:
        foreign_key_constraint_on:
          table: article
          column: author_id
  
  