hunk.code_window: status: 400
   response:
     errors:
     - extensions:
         code: parse-failed
         path: $.variableValues[0].location
       message: 'unexpected geometry type: Random'
   query:
     variables:
       landmarks:
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit:       path: $.variableValues.landmarks[0].location
  
hunk.file_path: server/tests-py/queries/graphql_mutation/insert/geojson/insert_geometry_unexpected_type_err.yaml
hunk.type: replace
file: module Data.Aeson.Extended
         ( module J
         , encodeToStrictText
         ) where
  
  import           Hasura.Prelude
  
  import           Data.Aeson as J
  import qualified Data.Aeson.Text               as JT
  import qualified Data.Text.Lazy                as LT
  
  encodeToStrictText :: (ToJSON a) => a -> Text
  encodeToStrictText = LT.toStrict . JT.encodeToLazyText
  