hunk.code_window:           columns:
             - completed
             filter:
               user_id:
                 _eq: X-HASURA-USER-ID
           role: user
  
hunk.labels: keep keep keep keep keep replace replace
hunk.after_edit:       delete_permissions:
         - role: user
           comment: 
           permission:
             filter:
               user_id:
                 _eq: X-HASURA-USER-ID
         event_triggers: []
  
hunk.file_path: community/sample-apps/todo-auth0-jwt/hasura/migrations/1536761653464_init.up.yaml
hunk.type: replace
file: description: Test PostGIS spatial operators on a geography column
  url: /v1/graphql
  status: 200
  response:
    data:
      stdwithin:
      - name: London
      - name: Paris
      stdwithin_sph_false:
      - name: London
      - name: Paris
      stintersects:
      - name: Linestring
      - name: Point
  query:
    query: |
      query geography($point: geography!, $ipoint: geography!) {
        stdwithin: geog_table(
          where: {geog_col: {_st_d_within: {distance: 1000000, from: $point}}}
        ) {
          name
        }
        stdwithin_sph_false: geog_table(
          where: {geog_col: {_st_d_within: {distance: 1000000, from: $point, use_spheroid: false}}}
        ) {
          name
        }
        stintersects: geog_table(
          where: {geog_col: {_st_intersects: $ipoint}}
        ) {
          name
        }
      }
    variables:
      ipoint:
        coordinates:
        - -43.23456
        - 72.4567772
        crs:
          type: name
          properties:
            name: urn:ogc:def:crs:EPSG::4326
        type: Point
      point:
        coordinates:
        - 1
        - 50
        crs:
          type: name
          properties:
            name: urn:ogc:def:crs:EPSG::4326
        type: Point
  